fix: info form layout
This commit is contained in:
parent
e69b0ad16d
commit
6a298cfae0
1 changed files with 7 additions and 6 deletions
|
|
@ -52,22 +52,23 @@ const employeeTab = defineModel<string>('employeeTab');
|
|||
</div>
|
||||
|
||||
<div
|
||||
class="col full-height q-pa-md"
|
||||
class="col full-height q-pa-md full-width"
|
||||
:class="{ row: $q.screen.gt.sm, column: $q.screen.lt.md }"
|
||||
>
|
||||
<div class="col-md-2" v-if="$slots['person-card']">
|
||||
<div class="col-md-2 q-mr-md" v-if="$slots['person-card']">
|
||||
<slot name="person-card"></slot>
|
||||
</div>
|
||||
|
||||
<div
|
||||
class="bordered surface-1 rounded scroll full-height col"
|
||||
class="rounded scroll full-height col full-width"
|
||||
:class="{
|
||||
'q-ml-md': $q.screen.gt.sm && $slots['person-card'],
|
||||
'q-mt-md': $q.screen.lt.md,
|
||||
'q-pa-md': !noPaddingTab,
|
||||
}"
|
||||
>
|
||||
<div class="row q-col-gutter-y-md">
|
||||
<div
|
||||
class="row q-col-gutter-y-md surface-1 rounded bordered"
|
||||
:class="{ 'q-pa-md': !noPaddingTab }"
|
||||
>
|
||||
<slot name="information"></slot>
|
||||
<slot name="person"></slot>
|
||||
<slot name="address" v-if="!noAddress">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue