diff --git a/src/Group.vue b/src/Group.vue index f52ffd4..4737925 100644 --- a/src/Group.vue +++ b/src/Group.vue @@ -21,7 +21,7 @@ click to expande/collapse notes -
+
@@ -188,12 +188,12 @@ export default { toggleNotes() { if (!this.expandedNote) { - $(this.$refs.groupNotes).css('text-overflow', 'initial'); - $(this.$refs.groupNotes).css('white-space', 'initial'); + $(this.$refs.groupNotes.$el).find('p').css('text-overflow', 'initial'); + $(this.$refs.groupNotes.$el).find('p').css('white-space', 'initial'); this.expandedNote = true; } else { - $(this.$refs.groupNotes).css('text-overflow', 'ellipsis'); - $(this.$refs.groupNotes).css('white-space', 'nowrap'); + $(this.$refs.groupNotes.$el).find('p').css('text-overflow', 'ellipsis'); + $(this.$refs.groupNotes.$el).find('p').css('white-space', 'nowrap'); this.expandedNote = false; } } @@ -260,7 +260,7 @@ export default { max-width: 120px; } -.group-notes { +.group-notes > p { font-style: italic; padding-left: 30px; text-overflow: ellipsis;