mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-03-04 19:53:19 +08:00
Merge pull request #8138 from andrej-scinote/aj_SCI_11447
Fix step title alignment and form dropdown for long option names [SCI-11447]
This commit is contained in:
commit
be04e85ce1
3 changed files with 4 additions and 4 deletions
|
@ -1,5 +1,5 @@
|
|||
<template>
|
||||
<div class="p-4 rounded bg-white text-sm grid grid-cols-[auto_170px]">
|
||||
<div class="p-4 rounded bg-white text-sm grid grid-cols-[minmax(0,1fr)_170px]">
|
||||
<div>
|
||||
<div class="font-bold">
|
||||
{{ field.attributes.name }}
|
||||
|
|
|
@ -22,7 +22,7 @@
|
|||
<i id="close-icon" data-e2e="e2e-BT-itemCard-close" @click="toggleShowHideSidebar(null)"
|
||||
class="sn-icon sn-icon-close ml-auto cursor-pointer my-auto mx-0"></i>
|
||||
</div>
|
||||
<div id="divider" class="bg-sn-light-grey flex items-center self-stretch h-px mt-6 mr-6"></div>
|
||||
<div id="divider" class="bg-sn-light-grey flex items-center self-stretch h-px mt-5 mr-6"></div>
|
||||
</div>
|
||||
|
||||
<div ref="bodyWrapper" id="body-wrapper" class="overflow-y-auto overflow-x-hidden h-[calc(100%-78px)] pt-6 ">
|
||||
|
|
|
@ -43,8 +43,8 @@
|
|||
:data-e2e="`e2e-TX-${dataE2e}`"
|
||||
@click="enableEdit($event)"
|
||||
>
|
||||
<span :class="{'truncate': singleLine }" class="py-1" :title="sa_value || placeholder" v-if="smartAnnotation" v-html="sa_value || placeholder" ></span>
|
||||
<span :class="{'truncate': singleLine}" class="py-1" :title="newValue || placeholder" v-else>{{newValue || placeholder}}</span>
|
||||
<span :class="{'truncate py-1': singleLine }" :title="sa_value || placeholder" v-if="smartAnnotation" v-html="sa_value || placeholder" ></span>
|
||||
<span :class="{'truncate py-1': singleLine}" :title="newValue || placeholder" v-else>{{newValue || placeholder}}</span>
|
||||
</div>
|
||||
|
||||
<div
|
||||
|
|
Loading…
Reference in a new issue