From 7f883f613566a3a6a3bfa894e8fa72d9eca01168 Mon Sep 17 00:00:00 2001 From: Maxim Devaev Date: Fri, 11 Nov 2022 15:38:54 +0300 Subject: Web: Fixed leds rendering on iOS 16 --- web/share/css/led.css | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'web/share') 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); } -- cgit v1.2.3