Skip to content

Commit 45926a0

Browse files
committed
fix: Header/Footer margins
1 parent 50e1dee commit 45926a0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/components/layout/QLayoutFooter.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ export default {
8181
css[this.$q.i18n.rtl ? 'right' : 'left'] = `${this.layout.left.size}px`
8282
}
8383
if (view[2] === 'r' && this.layout.right.space) {
84-
css[this.$q.i18n.rtl ? 'right' : 'left'] = `${this.layout.right.size}px`
84+
css[this.$q.i18n.rtl ? 'left' : 'right'] = `${this.layout.right.size}px`
8585
}
8686

8787
return css

src/components/layout/QLayoutHeader.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ export default {
8585
css[this.$q.i18n.rtl ? 'right' : 'left'] = `${this.layout.left.size}px`
8686
}
8787
if (view[2] === 'r' && this.layout.right.space) {
88-
css[this.$q.i18n.rtl ? 'right' : 'left'] = `${this.layout.right.size}px`
88+
css[this.$q.i18n.rtl ? 'left' : 'right'] = `${this.layout.right.size}px`
8989
}
9090

9191
return css

0 commit comments

Comments
 (0)