From e0265650b09b15324439d0f0f58fc134e584777b Mon Sep 17 00:00:00 2001 From: pebeah Date: Fri, 26 Jul 2013 21:37:50 +0200 Subject: [PATCH] Fixes table styling in CKEditor div mode --- wcfsetup/install/files/style/layout.less | 3 ++- wcfsetup/install/files/style/message.less | 5 +++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/wcfsetup/install/files/style/layout.less b/wcfsetup/install/files/style/layout.less index 659f675c1c..2128da49f0 100644 --- a/wcfsetup/install/files/style/layout.less +++ b/wcfsetup/install/files/style/layout.less @@ -1536,7 +1536,8 @@ } } -.table { +.table, +.cke_wysiwyg_div table { border-spacing: 0; width: 100%; diff --git a/wcfsetup/install/files/style/message.less b/wcfsetup/install/files/style/message.less index 44d31477ad..6eaa1a853a 100644 --- a/wcfsetup/install/files/style/message.less +++ b/wcfsetup/install/files/style/message.less @@ -918,6 +918,11 @@ li:nth-child(2n+1) .message { } } +/* fixes table styling */ +.cke_wysiwyg_div td { + border: 1px solid rgba(0, 0, 0, .2); +} + @media only screen and (max-width: 800px) { .message.messageSidebarOrientationLeft, .message.messageSidebarOrientationRight { -- 2.20.1