From fe8a3e1be44460eb044352e1eddbeee891dd537b Mon Sep 17 00:00:00 2001 From: Marcel Werk Date: Sat, 8 Oct 2016 13:12:36 +0200 Subject: [PATCH] Fixed table cell alignments --- wcfsetup/install/files/style/ui/redactor.scss | 6 +++--- wcfsetup/install/files/style/ui/tabularBox.scss | 5 +---- 2 files changed, 4 insertions(+), 7 deletions(-) diff --git a/wcfsetup/install/files/style/ui/redactor.scss b/wcfsetup/install/files/style/ui/redactor.scss index 89456b6b52..36973a625f 100644 --- a/wcfsetup/install/files/style/ui/redactor.scss +++ b/wcfsetup/install/files/style/ui/redactor.scss @@ -401,16 +401,16 @@ /* alignment plugin */ .text-center { - text-align: center; + text-align: center !important; } .text-right { - text-align: right; + text-align: right !important; } /* alignment plugin / custom value */ .text-justify { - text-align: justify; + text-align: justify !important; -webkit-hyphens: auto; -moz-hyphens: auto; diff --git a/wcfsetup/install/files/style/ui/tabularBox.scss b/wcfsetup/install/files/style/ui/tabularBox.scss index fb67ade481..9d8f81700b 100644 --- a/wcfsetup/install/files/style/ui/tabularBox.scss +++ b/wcfsetup/install/files/style/ui/tabularBox.scss @@ -132,12 +132,9 @@ td, th { padding: 10px; + text-align: left; vertical-align: middle; - &:not(.text-center):not(.text-right):not(.text-justify) { - text-align: left; - } - > label { cursor: pointer; display: block; -- 2.20.1