Skip to content

Commit 37a86b5

Browse files
bruno-fsmartinpitt
authored andcommitted
storage: anaconda: dropdown menus hidden behind non-scrollable content
Fix an edge case where the dropdown menus for modifying partitions get hidden under certain conditions[1]. This fixes a blocker for Fedora 43[2]. [1]: https://bugzilla.redhat.com/show_bug.cgi?id=2388785 [2]: https://pagure.io/fedora-qa/blocker-review/issue/1873 Resolves: INSTALLER-4272
1 parent 7776f54 commit 37a86b5

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

pkg/storaged/storage-anaconda.scss

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,3 +19,15 @@
1919
--pf-v6-c-card--BorderColor: transparent;
2020
}
2121
}
22+
23+
body:has(.anaconda) {
24+
// HACK - https://github.com/patternfly/patternfly-react/issues/11987
25+
// Allow scrolling if a dropdown menu gets positioned outside the bounds of the window.
26+
// This is easier to reproduce on 1080p or lower resolutions
27+
// remove this once the proper fix is implemented on PF and the rest of cockpit
28+
// (see https://bugzilla.redhat.com/show_bug.cgi?id=2388785)
29+
overflow-y: auto !important;
30+
// containers like pf-v6-c-page won't expand with the viewport when dropdown menus are created
31+
// on lower resolutions, so we force all background to match the default
32+
background: var(--pf-t--global--background--color--primary--default);
33+
}

0 commit comments

Comments
 (0)