mirror of
https://github.com/frappe/books.git
synced 2024-12-23 11:29:03 +00:00
fix: Add padding to PageHeader
This commit is contained in:
parent
827ecfd809
commit
09fe18af5a
@ -1,5 +1,5 @@
|
||||
<template>
|
||||
<div class="mt-4 px-8 flex justify-between window-drag">
|
||||
<div class="py-4 px-8 flex justify-between window-drag">
|
||||
<div class="window-no-drag">
|
||||
<slot name="title" />
|
||||
</div>
|
||||
|
@ -8,7 +8,7 @@
|
||||
<SearchBar class="ml-2" />
|
||||
</template>
|
||||
</PageHeader>
|
||||
<div class="flex-1 flex px-8 mt-4 overflow-y-auto">
|
||||
<div class="flex-1 flex px-8 overflow-y-auto">
|
||||
<div class="flex-1" v-if="root">
|
||||
<template v-for="account in allAccounts">
|
||||
<div
|
||||
|
@ -6,7 +6,7 @@
|
||||
<SearchBar class="ml-2" />
|
||||
</template>
|
||||
</PageHeader>
|
||||
<div class="mt-4 px-8">
|
||||
<div class="px-8">
|
||||
<div class="border-t" />
|
||||
<Cashflow />
|
||||
<div class="my-10 border-t" />
|
||||
|
@ -6,7 +6,7 @@
|
||||
</h1>
|
||||
</PageHeader>
|
||||
<div class="px-8">
|
||||
<div class="mt-4 border-t"></div>
|
||||
<div class="border-t"></div>
|
||||
</div>
|
||||
<div class="px-8 flex-1 overflow-y-auto">
|
||||
<div class="my-6" v-for="section in sections" :key="section.label">
|
||||
|
@ -24,7 +24,7 @@
|
||||
</PageHeader>
|
||||
<div
|
||||
v-if="doc"
|
||||
class="flex justify-center flex-1 mb-8 mt-6"
|
||||
class="flex justify-center flex-1 mb-8 mt-2"
|
||||
:class="doc.submitted && 'pointer-events-none'"
|
||||
>
|
||||
<div
|
||||
|
@ -1,5 +1,5 @@
|
||||
<template>
|
||||
<div class="px-5 pb-16 mt-2 text-base flex flex-col overflow-y-hidden">
|
||||
<div class="px-5 pb-16 text-base flex flex-col overflow-y-hidden">
|
||||
<div class="flex px-3">
|
||||
<div class="py-4 mr-3 w-7" v-if="hasImage"></div>
|
||||
<Row
|
||||
@ -22,7 +22,7 @@
|
||||
<div class="overflow-y-auto">
|
||||
<div
|
||||
class="px-3 flex hover:bg-gray-100 rounded-md"
|
||||
v-for="(doc, i) in data"
|
||||
v-for="doc in data"
|
||||
:key="doc.name"
|
||||
>
|
||||
<div class="w-7 py-4 mr-3" v-if="hasImage">
|
||||
@ -52,7 +52,6 @@
|
||||
import frappe from 'frappejs';
|
||||
import Row from '@/components/Row';
|
||||
import ListCell from './ListCell';
|
||||
import Button from '@/components/Button';
|
||||
import Avatar from '@/components/Avatar';
|
||||
import { openQuickEdit } from '@/utils';
|
||||
|
||||
@ -62,7 +61,6 @@ export default {
|
||||
components: {
|
||||
Row,
|
||||
ListCell,
|
||||
Button,
|
||||
Avatar
|
||||
},
|
||||
watch: {
|
||||
@ -90,7 +88,7 @@ export default {
|
||||
},
|
||||
async mounted() {
|
||||
await this.setupColumnsAndData();
|
||||
frappe.db.on(`change:${this.listConfig.doctype}`, obj => {
|
||||
frappe.db.on(`change:${this.listConfig.doctype}`, () => {
|
||||
this.updateData();
|
||||
});
|
||||
},
|
||||
|
@ -6,7 +6,7 @@
|
||||
<SearchBar class="ml-2" />
|
||||
</template>
|
||||
</PageHeader>
|
||||
<div class="mt-6 flex text-base px-8" v-if="report.filterFields">
|
||||
<div class="mt-2 flex text-base px-8" v-if="report.filterFields">
|
||||
<div
|
||||
class="ml-3 first:ml-0 w-32"
|
||||
v-for="df in report.filterFields"
|
||||
|
Loading…
Reference in New Issue
Block a user