Skip to content

Commit ea8004d

Browse files
committed
fix: improve padding of detail drawer
Previously, the detail drawer scrollbars were placed within the padded content. With this change, the scrollbars are flush to the boundaries of the detail drawer. Signed-off-by: Nick Mitchell <[email protected]>
1 parent cdd6a6f commit ea8004d

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

pdl-live-react/src/view/detail/DrawerContent.css

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,17 @@
1111
display: flex;
1212
flex-direction: column;
1313
overflow: hidden;
14+
padding: 0;
1415
}
1516

1617
.pf-v6-c-tab-content {
1718
flex: 1;
1819
overflow: auto;
1920

21+
.pf-v6-c-description-list {
22+
padding: 1em 2em 0 2em;
23+
}
24+
2025
& > pre {
2126
overflow-x: unset !important;
2227

pdl-live-react/src/view/detail/DrawerContent.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ export default function DrawerContent({ value }: Props) {
9696
}
9797

9898
return (
99-
<Card isPlain isLarge className="pdl-drawer-content">
99+
<Card isPlain isFullHeight isLarge className="pdl-drawer-content">
100100
<CardHeader actions={actions}>
101101
<CardTitle>{header(objectType)}</CardTitle>
102102
{block && description(block)}

0 commit comments

Comments
 (0)