mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-10-03 10:24:30 +08:00
Change step/result toolbar interaction [SCI-10929]
This commit is contained in:
parent
9277e89b5e
commit
5714e684ef
3 changed files with 3 additions and 3 deletions
|
@ -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')"
|
||||
|
|
|
@ -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')"
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Add table
Reference in a new issue