This is 100% not going to scale to devices that are not my iPhone 14 Pro Max, but I can't get env variables working in CSS and something is better than nothing for right now.
26 lines
535 B
SCSS
26 lines
535 B
SCSS
.footer {
|
|
$multiplier: 4;
|
|
|
|
align-items: flex-end;
|
|
background: var(--dialog-bg);
|
|
bottom: -1px; // hack to fix content being visible 1px below
|
|
display: flex;
|
|
flex-direction: row;
|
|
justify-content: space-between;
|
|
padding: ($unit * 1.5) ($unit * $multiplier) $unit-3x;
|
|
position: sticky;
|
|
transition: box-shadow 0.1s ease-out, border-top 0.1s ease-out;
|
|
|
|
.left,
|
|
.right {
|
|
display: flex;
|
|
gap: $unit;
|
|
}
|
|
|
|
@include breakpoint(phone) {
|
|
position: fixed;
|
|
bottom: $unit-14x;
|
|
left: 0;
|
|
right: 0;
|
|
}
|
|
}
|