summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaxim Devaev <[email protected]>2022-11-11 15:38:54 +0300
committerMaxim Devaev <[email protected]>2022-11-11 15:38:54 +0300
commit7f883f613566a3a6a3bfa894e8fa72d9eca01168 (patch)
tree7c38edcd013df473de4f552245e91941fb8b29f6
parent66bb26cc9cd77debbf453bc477049bc2e9f61ffa (diff)
Web: Fixed leds rendering on iOS 16
-rw-r--r--web/share/css/led.css4
1 files changed, 4 insertions, 0 deletions
diff --git a/web/share/css/led.css b/web/share/css/led.css
index 6fb6a70e..f0603e0d 100644
--- a/web/share/css/led.css
+++ b/web/share/css/led.css
@@ -44,21 +44,25 @@
}
img.led-gray {
+ -webkit-transform: translateZ(0); /* Без этого новый сафари не переключает иконки */
-webkit-filter: var(--led-filter-gray);
filter: var(--led-filter-gray);
}
img.led-green {
+ -webkit-transform: translateZ(0);
-webkit-filter: var(--led-filter-green);
filter: var(--led-filter-green);
}
img.led-red {
+ -webkit-transform: translateZ(0);
-webkit-filter: var(--led-filter-red);
filter: var(--led-filter-red);
}
img.led-yellow {
+ -webkit-transform: translateZ(0);
-webkit-filter: var(--led-filter-yellow);
filter: var(--led-filter-yellow);
}