aboutsummaryrefslogtreecommitdiff
path: root/style.css
diff options
context:
space:
mode:
authorJames Barnett <noreply@jamesbarnett.xyz>2022-01-03 17:02:22 +0000
committerJames Barnett <noreply@jamesbarnett.xyz>2022-01-03 17:02:22 +0000
commit026a006b410a0132c2cb573edff4352b4333b857 (patch)
tree2a641595671a44a2e66619dd6f98dad118d30f0f /style.css
parentdde729e31a3aa9b5dadd0c0f07b3cb1f497067bb (diff)
downloadjs-raytracer-026a006b410a0132c2cb573edff4352b4333b857.tar.xz
js-raytracer-026a006b410a0132c2cb573edff4352b4333b857.zip
Performance optimisations
Diffstat (limited to 'style.css')
-rw-r--r--style.css10
1 files changed, 8 insertions, 2 deletions
diff --git a/style.css b/style.css
index 0403e47..453687e 100644
--- a/style.css
+++ b/style.css
@@ -3,7 +3,7 @@ body {
}
p {
- margin: 0 0 0.8em;
+ margin: 0;
}
#output-wrapper {
@@ -13,6 +13,12 @@ p {
margin-top: 0.5em;
}
+#render-output {
+ width: 960px;
+ height: 720px;
+ object-fit: contain;
+}
+
.controls {
margin-top: 0.5em;
}
@@ -22,7 +28,7 @@ p {
width: 100%;
}
-.thread-slider {
+.nested-slider {
padding-left: 40px;
}