Skip to content

Commit

Permalink
Merge pull request #5194 from nextcloud-libraries/fix/5159/navigation…
Browse files Browse the repository at this point in the history
…-new-item-regression

fix(NcAppNavigationNewItem): bring back correct CSS class
  • Loading branch information
raimund-schluessler committed Jan 31, 2024
2 parents 8b687dd + 5e06d46 commit 83d844d
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions src/assets/NcAppNavigationItem.scss
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
}

// overwrite active text color
.app-navigation-entry-link {
.app-navigation-entry-link, .app-navigation-entry-button {
color: var(--color-primary-element-text) !important;
}
}
Expand Down Expand Up @@ -68,12 +68,14 @@
display: none;
}

&:not(.app-navigation-entry--editing) .app-navigation-entry-link {
padding-right: $icon-margin;
&:not(.app-navigation-entry--editing) {
.app-navigation-entry-link, .app-navigation-entry-button {
padding-right: $icon-margin;
}
}

// Main entry link
.app-navigation-entry-link {
.app-navigation-entry-link, .app-navigation-entry-button {
z-index: 100; /* above the bullet to allow click*/
display: flex;
overflow: hidden;
Expand Down

0 comments on commit 83d844d

Please sign in to comment.