2
0
mirror of https://github.com/frappe/books.git synced 2024-11-08 23:00:56 +00:00

fix(ui): border alignment in full width view

This commit is contained in:
18alantom 2023-09-04 12:36:54 +05:30
parent a24d6053b6
commit 95583501c7
2 changed files with 2 additions and 4 deletions

View File

@ -10,7 +10,6 @@
h-row-largest
sticky
top-0
border-b
bg-white
"
style="z-index: 1"
@ -28,7 +27,7 @@
<!-- Linked Entry List -->
<div
v-if="sequence.length"
class="w-full overflow-y-auto custom-scroll"
class="w-full overflow-y-auto custom-scroll border-t"
style="height: calc(100vh - var(--h-row-largest) - 1px)"
>
<div v-for="sn of sequence" :key="sn" class="border-b p-4">

View File

@ -10,7 +10,6 @@
h-row-largest
sticky
top-0
border-b
bg-white
"
style="z-index: 1"
@ -44,7 +43,7 @@
<!-- Name and image -->
<div
v-if="doc && (titleField || imageField)"
class="items-center border-b"
class="items-center border-b border-t"
:class="imageField ? 'grid' : 'flex justify-center'"
:style="{
height: `calc(var(--h-row-mid) * ${!!imageField ? '2 + 1px' : '1'})`,