From: Alexander Ebert Date: Fri, 30 Aug 2024 08:50:45 +0000 (+0200) Subject: Use a different media query to hide the resize widget X-Git-Tag: 6.1.0_Beta_1~3 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=ee83df22441db7ce16a2ede31e7ea791f56010a6;p=GitHub%2FWoltLab%2FWCF.git Use a different media query to hide the resize widget Samsung smartphones report an incorrect value for `any-hover`. See https://www.ctrl.blog/entry/css-media-hover-samsung.html --- diff --git a/wcfsetup/install/files/style/ui/ckeditor.scss b/wcfsetup/install/files/style/ui/ckeditor.scss index 5dd534cb4c..35825d8474 100644 --- a/wcfsetup/install/files/style/ui/ckeditor.scss +++ b/wcfsetup/install/files/style/ui/ckeditor.scss @@ -655,7 +655,7 @@ html.iOS { } } -@media (any-hover: none) { +@media (pointer: coarse) { /* The resize controls are not supported on touch devices. See https://github.com/ckeditor/ckeditor5/issues/5624 */ .ck .ck-widget__resizer {