Fix condensed line being clickable

This commit is contained in:
Pavel Djundik 2018-07-13 10:43:31 +03:00 committed by Pavel Djundik
parent 797731262a
commit 9249464445
2 changed files with 6 additions and 9 deletions

View File

@ -1,16 +1,13 @@
<template> <template>
<div :class="[ 'msg', 'condensed', { closed: isCollapsed } ]"> <div :class="[ 'msg', 'condensed', { closed: isCollapsed } ]">
<div <div class="condensed-summary">
class="condensed-summary"
@click="isCollapsed = !isCollapsed">
<span class="time"/> <span class="time"/>
<span class="from"/> <span class="from"/>
<span class="content"> <span
{{ condensedText }} class="content"
<button @click="isCollapsed = !isCollapsed">{{ condensedText }}<button
class="toggle-button" class="toggle-button"
aria-label="Toggle status messages"/> aria-label="Toggle status messages"/></span>
</span>
</div> </div>
<Message <Message
v-for="message in messages" v-for="message in messages"