fix(boards): reduce phone outer gutters (#7070)
Related to #7069. Remove duplicated shell gutters on phone boards while retaining widget insets and wider layout spacing.
This commit is contained in:
1 parent
eb1d449dca
commit
a932cb85a7
1 file changed
+7
@@ -1,3 +1,10 @@
|
|||||||
|
/* Phone widgets already retain their own 10px inset; avoid doubling it with shell padding. */
|
||||||
|
@media (width < $mantine-breakpoint-sm) {
|
||||||
|
.board:not([data-board-layout-preview]) {
|
||||||
|
margin-inline: calc(-1 * var(--app-shell-padding, 0px));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
.board[data-board-left-rail="true"]:not([data-board-layout-preview]) {
|
.board[data-board-left-rail="true"]:not([data-board-layout-preview]) {
|
||||||
margin-inline-start: calc(-1 * var(--app-shell-padding, 0px));
|
margin-inline-start: calc(-1 * var(--app-shell-padding, 0px));
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user