Skip to content
This repository was archived by the owner on Jul 30, 2025. It is now read-only.

Commit 12d2508

Browse files
myan9starpit
authored andcommitted
fix(plugins/plugin-client-common): popover has odd spacing and overflow
Fixes #6809
1 parent 7050a02 commit 12d2508

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

plugins/plugin-client-common/web/scss/components/Popover/PatternFly.scss

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,15 @@
1818
@import 'mixins';
1919

2020
@include Popover {
21+
h6 {
22+
margin-top: 0;
23+
}
24+
25+
.pf-c-popover__content {
26+
max-height: 40rem; /* Neither PatternFly nor Carbon let us specify this via props */
27+
overflow-y: auto;
28+
}
29+
2130
.pf-c-button {
2231
padding: 0;
2332
}

plugins/plugin-client-common/web/scss/components/Popover/common.scss

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,6 @@ body[kui-theme-style] {
2020
@include Popover {
2121
min-width: 5rem;
2222
max-width: 23rem; /* Carbon does not let us specify this easily via props */
23-
max-height: 40rem; /* Neither PatternFly nor Carbon let us specify this via props */
24-
overflow-y: auto;
2523
}
2624
}
2725

0 commit comments

Comments
 (0)