fix: give the motion tile a reserved slot outside the bay
This commit is contained in:
@@ -260,7 +260,7 @@ onBeforeUnmount(() => {
|
||||
|
||||
<button
|
||||
v-if="action && action.event !== 'pause'"
|
||||
class="drive-control-button"
|
||||
class="drive-control-button drive-controls__action"
|
||||
type="button"
|
||||
:aria-label="action.label"
|
||||
:title="action.label"
|
||||
|
||||
@@ -509,6 +509,12 @@ html .drive-controls {
|
||||
max-inline-size: none;
|
||||
gap: 0;
|
||||
}
|
||||
/* Resume / Enable motion has a reserved slot outside the bay's flow: it
|
||||
hangs to the left of the tiles, so they never shift when it appears. */
|
||||
html .drive-controls__action {
|
||||
position: absolute;
|
||||
inset: 0 100% auto auto;
|
||||
}
|
||||
html .drive-controls__dock {
|
||||
padding: 0;
|
||||
gap: 0;
|
||||
@@ -709,6 +715,12 @@ html .drive-controls__audio-status {
|
||||
letter-spacing: 0;
|
||||
}
|
||||
html .site-navigation details[open] summary[data-exit]::after { content: '\2212' / ''; }
|
||||
/* No room beside the window on a phone: the motion tile hangs below the
|
||||
settings tile instead, still outside the bay's flow. */
|
||||
html .drive-controls__action {
|
||||
inset: calc(100% + (var(--gantry-h) - 44px) / 2 + 6px) 0 auto auto;
|
||||
background-color: var(--gantry-steel-2);
|
||||
}
|
||||
html .site-navigation ul {
|
||||
inset: var(--gantry-h) 0 auto;
|
||||
background: linear-gradient(180deg, var(--gantry-steel-1), var(--gantry-steel-2));
|
||||
|
||||
Reference in New Issue
Block a user