aboutsummaryrefslogtreecommitdiff
path: root/static/_slider_input.scss
diff options
context:
space:
mode:
authorHugo Hörnquist <hugo@lysator.liu.se>2022-04-21 15:10:17 +0200
committerHugo Hörnquist <hugo@lysator.liu.se>2022-04-23 21:53:39 +0200
commitd4640c76287310b40cc5e76b430635c0a006708c (patch)
treee7bd9bd95c0b1e6c5aaf36ca32654c26d2c82817 /static/_slider_input.scss
parentMade lcov.info phony. (diff)
downloadcalp-d4640c76287310b40cc5e76b430635c0a006708c.tar.gz
calp-d4640c76287310b40cc5e76b430635c0a006708c.tar.xz
Repair and rewrote sliders in HTML.
The old ones where broken since i accidentally removed setVar, instead of reintrocuding that, I rewrote slider-inputs as web components, which frees us of having some hacky javascript in the html code.
Diffstat (limited to 'static/_slider_input.scss')
-rw-r--r--static/_slider_input.scss10
1 files changed, 10 insertions, 0 deletions
diff --git a/static/_slider_input.scss b/static/_slider_input.scss
new file mode 100644
index 00000000..adae56ae
--- /dev/null
+++ b/static/_slider_input.scss
@@ -0,0 +1,10 @@
+/* See components/slider.ts */
+
+slider-input {
+ display: flex;
+
+ input {
+ min-width: 0;
+ }
+}
+