Change step/result toolbar interaction [SCI-10929]

This commit is contained in:
Andrej 2024-07-30 15:48:12 +02:00
parent 9277e89b5e
commit 5714e684ef
3 changed files with 3 additions and 3 deletions

View file

@ -146,7 +146,7 @@
@attachment:viewMode="updateAttachmentViewMode"/>
</div>
<ContentToolbar
v-if="orderedElements.length > 3"
v-if="orderedElements.length > 2"
:insertMenu="insertMenu"
@create:table="(...args) => this.createElement('table', ...args)"
@create:checklist="createElement('checklist')"

View file

@ -132,7 +132,7 @@
@attachment:viewMode="updateAttachmentViewMode"/>
</div>
<ContentToolbar
v-if="orderedElements.length > 3"
v-if="orderedElements.length > 2"
:insertMenu="insertMenu"
@create:table="(...args) => this.createElement('table', ...args)"
@create:text="createElement('text')"

View file

@ -1,5 +1,5 @@
<template>
<div class="px-4 py-2 bg-sn-super-light-blue flex gap-4 mt-10 mb-4">
<div class="px-4 py-2 bg-sn-super-light-blue flex gap-4 mt-10 mb-4 rounded">
<span class="font-bold shrink-0 leading-10">
{{ i18n.t('protocols.steps.insert.button') }}:
</span>