Skip to content

Commit

Permalink
Remove border from flyout description list.
Browse files Browse the repository at this point in the history
  • Loading branch information
justinkambic committed Feb 28, 2023
1 parent 04f5701 commit 7b9c4ec
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ export interface MonitorDetailsPanelProps {
monitor: EncryptedSyntheticsSavedMonitor | null;
hideEnabled?: boolean;
hideLocations?: boolean;
hasBorder?: boolean;
}

export const MonitorDetailsPanel = ({
Expand All @@ -56,6 +57,7 @@ export const MonitorDetailsPanel = ({
configId,
hideEnabled = false,
hideLocations = false,
hasBorder = true,
}: MonitorDetailsPanelProps) => {
const dispatch = useDispatch();

Expand All @@ -64,7 +66,12 @@ export const MonitorDetailsPanel = ({
}

return (
<PanelWithTitle paddingSize="m" title={MONITOR_DETAILS_LABEL} titleLeftAlign>
<PanelWithTitle
paddingSize="m"
title={MONITOR_DETAILS_LABEL}
titleLeftAlign
hasBorder={hasBorder}
>
<WrapperStyle>
<EuiSpacer size="s" />
<EuiDescriptionList type="column" compressed align="left">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -325,6 +325,7 @@ export function MonitorDetailFlyout(props: Props) {
<EuiFlyoutBody>
<DetailFlyoutDurationChart {...props} location={props.location} />
<MonitorDetailsPanel
hasBorder={false}
hideEnabled
latestPing={monitorDetail.data}
configId={configId}
Expand Down

0 comments on commit 7b9c4ec

Please sign in to comment.