notes tooltip

This commit is contained in:
Davide Alberani 2017-01-26 22:16:58 +01:00
parent 9235d3bbd5
commit 8dad81c014

View file

@ -20,6 +20,7 @@
</md-menu> </md-menu>
</md-layout> </md-layout>
<md-layout v-if="group.notes" md-row> <md-layout v-if="group.notes" md-row>
<md-tooltip md-direction="top">click to expande/collapse notes</md-tooltip>
<div ref="groupNotes" class="group-notes" @click="toggleNotes()">{{ group.notes }}</div> <div ref="groupNotes" class="group-notes" @click="toggleNotes()">{{ group.notes }}</div>
</md-layout> </md-layout>
</md-card-header> </md-card-header>
@ -258,7 +259,7 @@ export default {
.group-notes { .group-notes {
font-style: italic; font-style: italic;
padding-left: 15px; padding-left: 30px;
text-overflow: ellipsis; text-overflow: ellipsis;
max-width: 400px; max-width: 400px;
overflow: hidden; overflow: hidden;