Skip to content

Commit

Permalink
Show Mouse-over title on navigationItem only on text
Browse files Browse the repository at this point in the history
Signed-off-by: Jonas Rittershofer <jotoeri@users.noreply.github.com>
  • Loading branch information
jotoeri committed May 22, 2020
1 parent af60f5b commit 1597302
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/components/AppNavigationItem/AppNavigationItem.vue
Expand Up @@ -107,7 +107,6 @@ Just set the `pinned` prop.
<template>
<!-- Navigation item, can be either an <li> or a <router-link> depending on the props -->
<nav-element v-bind="navElement"
:title="title"
:class="{
'app-navigation-entry--no-icon': !isIconShown,
'app-navigation-entry--opened': opened,
Expand All @@ -130,7 +129,9 @@ Just set the `pinned` prop.
class="app-navigation-entry-icon">
<slot v-if="!loading" v-show="isIconShown" name="icon" />
</div>
<span class="app-navigation-entry__title">{{ title }}</span>
<span class="app-navigation-entry__title" :title="title">
{{ title }}
</span>
</a>

<AppNavigationIconCollapsible v-if="collapsible" :open="opened" @click.prevent.stop="toggleCollapse" />
Expand Down

0 comments on commit 1597302

Please sign in to comment.