From 3fdee6a93befe6a5b41d0073dbf42b5ed3b158a2 Mon Sep 17 00:00:00 2001 From: Dan Brown Date: Thu, 15 Feb 2024 14:40:27 +0000 Subject: [PATCH] Tables: Updated selection style to avoid scroll overflow Fixes #4844 --- resources/sass/_tinymce.scss | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/resources/sass/_tinymce.scss b/resources/sass/_tinymce.scss index b6a2156df..7e443ff5a 100644 --- a/resources/sass/_tinymce.scss +++ b/resources/sass/_tinymce.scss @@ -110,6 +110,16 @@ body.page-content.mce-content-body { float: none !important; } +.page-content.mce-content-body td[data-mce-selected]::after, +.page-content.mce-content-body th[data-mce-selected]::after { + top: 1px; + left: 1px; + bottom: 1px; + right: 1px; + outline: 1px dashed #1a85ff; + outline-offset: 0; +} + /** * Dark Mode Overrides */