From c3772a5ee6de87bd83fd87b6930fdf53828826f4 Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Fri, 30 Aug 2019 14:25:33 +0100 Subject: [PATCH] wiki: Fix alignment of tables This was broken because of CSS overwriting what was in the markup. Fixes: #12145 Signed-off-by: Michael Tremer --- src/scss/style.scss | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/src/scss/style.scss b/src/scss/style.scss index 8868233e..0da1d000 100644 --- a/src/scss/style.scss +++ b/src/scss/style.scss @@ -312,6 +312,21 @@ section { @extend .table; @extend .table-sm; @extend .table-striped; + + // Apply CSS classes for alignment + thead { + th[align="left"], td[align="left"] { + @extend .text-left; + } + + th[align="center"], td[align="center"] { + @extend .text-center; + } + + th[align="right"], td[align="right"] { + @extend .text-right; + } + } } } -- 2.47.2