Fix edit toggle button jump
Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
@@ -132,11 +132,6 @@
|
|||||||
href="https://deck.readthedocs.io/en/latest/Markdown/"
|
href="https://deck.readthedocs.io/en/latest/Markdown/"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
class="icon icon-info" />
|
class="icon icon-info" />
|
||||||
<Actions v-if="canEdit">
|
|
||||||
<ActionButton v-if="descriptionEditing" icon="icon-attach" @click="showAttachmentModal()">
|
|
||||||
{{ t('deck', 'Add Attachment') }}
|
|
||||||
</ActionButton>
|
|
||||||
</Actions>
|
|
||||||
<Actions v-if="canEdit">
|
<Actions v-if="canEdit">
|
||||||
<ActionButton v-if="!descriptionEditing" icon="icon-rename" @click="showEditor()">
|
<ActionButton v-if="!descriptionEditing" icon="icon-rename" @click="showEditor()">
|
||||||
{{ t('deck', 'Edit description') }}
|
{{ t('deck', 'Edit description') }}
|
||||||
@@ -145,6 +140,11 @@
|
|||||||
{{ t('deck', 'View description') }}
|
{{ t('deck', 'View description') }}
|
||||||
</ActionButton>
|
</ActionButton>
|
||||||
</Actions>
|
</Actions>
|
||||||
|
<Actions v-if="canEdit">
|
||||||
|
<ActionButton v-if="descriptionEditing" icon="icon-attach" @click="showAttachmentModal()">
|
||||||
|
{{ t('deck', 'Add Attachment') }}
|
||||||
|
</ActionButton>
|
||||||
|
</Actions>
|
||||||
</h5>
|
</h5>
|
||||||
|
|
||||||
<div v-if="!descriptionEditing"
|
<div v-if="!descriptionEditing"
|
||||||
|
|||||||
Reference in New Issue
Block a user