ios: avoid non-trimmed css variable strings that break slider colors (#568)

This commit is contained in:
bordun 2019-12-14 14:37:21 +01:00
parent 778323191b
commit 9e570838c7
4 changed files with 11 additions and 7 deletions

View file

@ -2,6 +2,8 @@
## 0.48.6
- bug fixes
- ios: prevent color issues with sliders
- main
- detect http server silent setup failure

View file

@ -1,7 +1,9 @@
.fader-container {
--color-pips: var(--color-custom);
--color-gauge: var(--color-custom);
--color-knob: var(--color-custom);
// note: ios doesn't trim css variables defined as follow
// we must avoid space after ":" otherwise it breaks the canvas colors
--color-pips:var(--color-custom);
--color-gauge:var(--color-custom);
--color-knob:var(--color-custom);
--gauge-width: 2;
padding: 1rem;
width:100rem;

View file

@ -1,7 +1,7 @@
.knob-container, .encoder-container {
--color-pips: var(--color-custom);
--color-gauge: var(--color-custom);
--color-knob: var(--color-custom);
--color-pips:var(--color-custom);
--color-gauge:var(--color-custom);
--color-knob:var(--color-custom);
padding: 1rem;
width: 100rem;

View file

@ -134,7 +134,7 @@
}
.hue-wrapper {
--color-gauge:transparent;
--color-knob: var(--color-white);
--color-knob:var(--color-white);
.wrapper {
&:after {
content:"";