Skip to content

Commit 83d844d

Browse files
Merge pull request #5194 from nextcloud-libraries/fix/5159/navigation-new-item-regression
fix(NcAppNavigationNewItem): bring back correct CSS class
2 parents 8b687dd + 5e06d46 commit 83d844d

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

src/assets/NcAppNavigationItem.scss

+6-4
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
}
3535

3636
// overwrite active text color
37-
.app-navigation-entry-link {
37+
.app-navigation-entry-link, .app-navigation-entry-button {
3838
color: var(--color-primary-element-text) !important;
3939
}
4040
}
@@ -68,12 +68,14 @@
6868
display: none;
6969
}
7070

71-
&:not(.app-navigation-entry--editing) .app-navigation-entry-link {
72-
padding-right: $icon-margin;
71+
&:not(.app-navigation-entry--editing) {
72+
.app-navigation-entry-link, .app-navigation-entry-button {
73+
padding-right: $icon-margin;
74+
}
7375
}
7476

7577
// Main entry link
76-
.app-navigation-entry-link {
78+
.app-navigation-entry-link, .app-navigation-entry-button {
7779
z-index: 100; /* above the bullet to allow click*/
7880
display: flex;
7981
overflow: hidden;

0 commit comments

Comments
 (0)