mirror of
https://github.com/frappe/books.git
synced 2025-02-13 17:39:09 +00:00
fix(ui): hidden pagination on Windows
This commit is contained in:
parent
77e226363d
commit
a86d383487
@ -62,9 +62,7 @@
|
||||
<WithScroll
|
||||
@scroll="onBodyScroll"
|
||||
class="flex-1 overflow-auto"
|
||||
:style="{
|
||||
height: usePagination ? 'calc(100vh - 13rem)' : 'calc(100vh-12rem)',
|
||||
}"
|
||||
:style="`height: ${height}`"
|
||||
>
|
||||
<Row
|
||||
v-show="row.isShown"
|
||||
@ -343,6 +341,15 @@ export default {
|
||||
this.reportName === 'general-ledger' && this.rows.length > this.pageLen
|
||||
);
|
||||
},
|
||||
height() {
|
||||
if (this.usePagination && this.platform === 'Windows') {
|
||||
return 'calc(100vh - 14.5rem)';
|
||||
} else if (this.usePagination) {
|
||||
return 'calc(100vh - 13rem)';
|
||||
}
|
||||
|
||||
return 'calc(100vh - 12rem)';
|
||||
},
|
||||
sliceIndex() {
|
||||
if (!this.usePagination) {
|
||||
return {
|
||||
|
Loading…
x
Reference in New Issue
Block a user