mirror of
https://bjh21.me.uk/bedstead/.git
synced 2026-07-30 15:33:25 -04:00
webstead: scale input and output better with window size
It turns out that setting --pix to 7vmin, while rather unprincipled, does actually work quite adequately.
This commit is contained in:
parent
64b18f30bb
commit
7ba57f2e27
@ -5,16 +5,17 @@
|
||||
<title>Bedstead editor test</title>
|
||||
<style>
|
||||
:root {
|
||||
--pix: 50px;
|
||||
--pix: 7vmin;
|
||||
}
|
||||
body {
|
||||
max-width: none;
|
||||
}
|
||||
#inout {
|
||||
display: flex;
|
||||
}
|
||||
#inout > * {
|
||||
margin-left: var(--pix);
|
||||
margin-top: var(--pix);
|
||||
}
|
||||
#outpane {
|
||||
#inpane, #outpane {
|
||||
padding-left: var(--pix);
|
||||
padding-top: var(--pix);
|
||||
width: calc(5 * var(--pix));
|
||||
height: calc(9 * var(--pix));
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user