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