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

Commit 959d059

Browse files
committed
fix(plugins/plugin-client-common): PatternFly LeftNav view has excessive padding
Fixes #6038
1 parent 94ca684 commit 959d059

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

plugins/plugin-client-common/web/scss/components/Navigation/Patternfly.scss

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,24 +17,27 @@
1717
@import './common';
1818
@import '../../PatternFly/common';
1919

20-
[kui-theme-style] .pf-c-nav {
20+
body[kui-theme-style] .pf-c-nav {
2121
--pf-c-nav__list-toggle--FontSize: 1em;
2222
width: $nav-width;
2323
background-color: var(--color-sidecar-header);
2424

2525
.pf-c-nav__list {
26-
padding-top: 1em;
27-
2826
a:hover:not(.plain-anchor) {
2927
color: unset;
3028
}
3129

32-
.pf-c-nav__item .pf-c-nav__simple-list .pf-c-nav__link {
30+
.pf-c-nav__item .pf-c-nav__list .pf-c-nav__link {
3331
white-space: nowrap;
3432
overflow: hidden;
3533
text-overflow: ellipsis;
34+
35+
&.pf-c-nav__link.pf-m-current {
36+
background-color: var(--pf-global--BackgroundColor--dark-100);
37+
}
3638
&:hover {
3739
cursor: pointer;
40+
background-color: var(--pf-global--BackgroundColor--dark-400);
3841
}
3942
}
4043
}

0 commit comments

Comments
 (0)