From 5601c26c43f615a315ece9178a67d552c7105301 Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Mon, 26 Aug 2024 15:39:03 +0200 Subject: [PATCH] =?utf8?q?Hide=20CKEditor=E2=80=99s=20resize=20controls=20?= =?utf8?q?for=20touch=20devices?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit See https://www.woltlab.com/community/thread/307737-bild-anh%C3%A4nge-mobil-verkleinern/ --- wcfsetup/install/files/style/ui/ckeditor.scss | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/wcfsetup/install/files/style/ui/ckeditor.scss b/wcfsetup/install/files/style/ui/ckeditor.scss index bb43de2a6a..5dd534cb4c 100644 --- a/wcfsetup/install/files/style/ui/ckeditor.scss +++ b/wcfsetup/install/files/style/ui/ckeditor.scss @@ -654,3 +654,11 @@ html.iOS { order: 2; } } + +@media (any-hover: none) { + /* The resize controls are not supported on touch devices. + See https://github.com/ckeditor/ckeditor5/issues/5624 */ + .ck .ck-widget__resizer { + display: none !important; + } +} -- 2.20.1