diff --git a/src/components/NcAppNavigationItem/NcAppNavigationItem.vue b/src/components/NcAppNavigationItem/NcAppNavigationItem.vue index ff5815a6bd..3aff111d67 100644 --- a/src/components/NcAppNavigationItem/NcAppNavigationItem.vue +++ b/src/components/NcAppNavigationItem/NcAppNavigationItem.vue @@ -117,9 +117,7 @@ Just set the `pinned` prop. 'app-navigation-entry--pinned': pinned, 'app-navigation-entry--collapsible': collapsible, }" - class="app-navigation-entry-wrapper" - @mouseover="handleMouseover" - @mouseleave="handleMouseleave"> + class="app-navigation-entry-wrapper"> @@ -168,13 +165,16 @@ Just set the `pinned` prop. -
-
+
- ul { // NO ANIMATE because if not really hidden, we can still tab through it @@ -778,18 +750,24 @@ export default { /* counter and actions */ .app-navigation-entry__utils { display: flex; - width: $clickable-area; - align-items: center; - flex: 0 1 auto; -} - -/* counter */ -.app-navigation-entry__counter-wrapper { - // Add slightly more space to the right of the counter - margin-right: 2px; - display: flex; + min-width: $clickable-area; align-items: center; flex: 0 1 auto; + &#{&}--display-actions .action-item.app-navigation-entry__actions { + display: inline-block; + } + /* counter */ + .app-navigation-entry__counter-wrapper { + // Add slightly more space to the right of the counter + margin-right: 2px; + display: flex; + align-items: center; + flex: 0 1 auto; + } + /* actions */ + .action-item.app-navigation-entry__actions { + display: none; + } } // STATES