0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2026-01-02 06:22:43 +00:00

preserve margin around .pages

Keep margin around .pages element such that the pages are never bumped right against the divider.
This commit is contained in:
Gazook89
2024-10-05 21:55:42 -05:00
parent 4259931b67
commit 06a806e260

View File

@@ -12,7 +12,7 @@
grid-template-columns: repeat(2, auto);
grid-template-rows: repeat(3, auto);
gap: 10px 10px;
justify-content: center;
justify-content: flex-start;
& .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
@@ -24,15 +24,10 @@
display: flex;
flex-wrap: wrap;
gap: 10px;
justify-content: start;
& .page {
margin-left: unset;
margin-right: unset;
}
justify-content: flex-start;
}
margin : 30px 0px;
& > :where(.page) {
width : 215.9mm;
height : 279.4mm;