On a phone the piece panel opens short, the name and the situation, and the lore scrolls within it, so the boards stay in view
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01CCLa2PaEeCj8njQZSWGqHx
This commit is contained in:
1 parent
8744072dda
commit
ff69d53e8c
1 file changed
+2
-2
@@ -359,7 +359,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
@media (max-width: 860px) {
|
@media (max-width: 860px) {
|
||||||
/* On a phone the boards run long: the panel rises from the bottom over them, and scrolls within itself. */
|
/* On a phone the panel rises from the bottom over the boards, short enough to leave them in view: the piece's name and its situation show, and the lore scrolls within the sheet. */
|
||||||
.panel {
|
.panel {
|
||||||
position: fixed;
|
position: fixed;
|
||||||
left: 0;
|
left: 0;
|
||||||
@@ -367,7 +367,7 @@
|
|||||||
bottom: 0;
|
bottom: 0;
|
||||||
top: auto;
|
top: auto;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
max-height: 48vh;
|
max-height: 30vh;
|
||||||
overflow-y: auto;
|
overflow-y: auto;
|
||||||
padding: 0 var(--gutter) 0.5rem;
|
padding: 0 var(--gutter) 0.5rem;
|
||||||
background: var(--slate-deep);
|
background: var(--slate-deep);
|
||||||
|
|||||||
Reference in new issue
Block a user