update notebook snapshot drop area

This commit is contained in:
John Hill 2024-03-13 16:16:20 -07:00
parent b7b7bc2d41
commit 444c9ff33e

View File

@ -98,12 +98,14 @@
v-if="selectedPage && !selectedPage.isLocked" v-if="selectedPage && !selectedPage.isLocked"
:aria-disabled="activeTransaction" :aria-disabled="activeTransaction"
class="c-notebook__drag-area icon-plus" class="c-notebook__drag-area icon-plus"
aria-dropeffect="link"
aria-labelledby="newEntryLabel"
@click="newEntry(null, $event)" @click="newEntry(null, $event)"
@dragover="dragOver" @dragover="dragOver"
@drop.capture="dropCapture" @drop.capture="dropCapture"
@drop="dropOnEntry($event)" @drop="dropOnEntry($event)"
> >
<span class="c-notebook__drag-area__label"> <span id="newEntryLabel" class="c-notebook__drag-area__label">
To start a new entry, click here or drag and drop any object To start a new entry, click here or drag and drop any object
</span> </span>
</div> </div>
@ -150,9 +152,10 @@
<button <button
class="c-button commit-button icon-lock" class="c-button commit-button icon-lock"
title="Commit entries and lock this page from further changes" title="Commit entries and lock this page from further changes"
aria-labelledby="commitEntriesLabel"
@click="lockPage()" @click="lockPage()"
> >
<span class="c-button__label">Commit Entries</span> <span id="commitEntriesLabel" class="c-button__label">Commit Entries</span>
</button> </button>
</div> </div>
</div> </div>