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

Add View Mode Options

Adds a new AnchoredBox component that is functionally a clone of the "saving error" notifications, but drops a lot of the JS in favor of the new (chrome-only!) CSS Anchor Positioning API.  In subsequent commits, either alternate styling or a polyfill will be added non-supported browsers.

The box contains a few inputs that modify the CSS applied to `.pages`, most critically a "start on right" toggle for the Facing Pages mode.
This commit is contained in:
Gazook89
2024-10-06 21:51:44 -05:00
parent 9fce94af63
commit d6d6cc1e29
5 changed files with 148 additions and 5 deletions

View File

@@ -34,6 +34,13 @@
align-items : center;
}
.anchored-box {
color: #CCCCCC;
input[type='number']{
width: 4ch;
}
}
input {
position : relative;
height : 1.5em;