Skip to content

Commit 0f04317

Browse files
before working on thumb scaling
1 parent df52562 commit 0f04317

File tree

2 files changed

+14
-12
lines changed

2 files changed

+14
-12
lines changed

index.css

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
1+
html { font-size: 16px; }
2+
:root { --ui-scale: 1; }
3+
14
body {
25
display: flex;
36
flex-direction: column;
4-
height: 100vh;
7+
height: 100dvh;
58
margin: 0;
69
overflow: hidden;
710
}
@@ -69,8 +72,14 @@ body {
6972
justify-content: center;
7073
align-items: center;
7174
gap: 10px;
72-
width: 100%;
73-
margin: 8px;
75+
padding: 0.3rem;
76+
background-color: rgb(224, 224, 224);
77+
}
78+
#controller-options-container{
79+
flex-direction: row;
80+
}
81+
.controls-container-every-other{
82+
background-color: rgb(215, 215, 215);
7483
}
7584
.slider-container > div{
7685
text-align: center;
@@ -201,13 +210,6 @@ canvas{
201210
}
202211

203212

204-
#controller-options-container{
205-
display: flex ;
206-
flex-direction: row;
207-
align-items: center;
208-
justify-content: center;
209-
margin: 8px;
210-
}
211213

212214
#controller-selector-container{
213215
margin-right: 8px;

index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@
9292
<div id="sim-container"></div>
9393
</div>
9494
<div id="controls-box">
95-
<div id="controller-options-container">
95+
<div id="controller-options-container" class="controls-container controls-container-every-other">
9696
<div id="controller-selector-container">
9797
<form id="controller-selector-form">
9898
<label class="controller-selector-label" >
@@ -191,7 +191,7 @@
191191
<button id="pause">Pause</button>
192192
<button id="step">Step</button>
193193
</div>
194-
<div id="reference-trajectory-container" class="controls-container">
194+
<div id="reference-trajectory-container" class="controls-container controls-container-every-other">
195195
<div id="reference-trajectory-offset-container">
196196
<span class="slider-container">
197197
<div>

0 commit comments

Comments
 (0)