0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2025-12-30 21:52:43 +00:00

Basically revert previous change

Adding the margin resets back in because otherwise each .page margin is set to "auto" on the sides, and that makes them zoom awkwardly when in facing and flow modes.
This commit is contained in:
Gazook89
2024-10-05 22:35:42 -05:00
parent 06a806e260
commit 24544e713e

View File

@@ -12,12 +12,16 @@
grid-template-columns: repeat(2, auto);
grid-template-rows: repeat(3, auto);
gap: 10px 10px;
justify-content: flex-start;
justify-content: center;
& .page:first-child {
// sets first page on 'right' ('recto') of the preview, as if for a Cover page.
// todo: add a checkbox to toggle this setting
grid-column-start: 2;
}
& :where(.page) {
margin-left: unset !important;
margin-right: unset !important;
}
}
&.flow {
@@ -25,6 +29,10 @@
flex-wrap: wrap;
gap: 10px;
justify-content: flex-start;
& :where(.page) {
margin-left: unset !important;
margin-right: unset !important;
}
}