]> git.ipfire.org Git - thirdparty/bulma.git/commitdiff
Fix th and td selectors that override the attribute 'align'
authorabc <admin@rhein.ch>
Fri, 22 Mar 2019 23:58:41 +0000 (00:58 +0100)
committerJeremy Thomas <bbxdesign@gmail.com>
Fri, 17 May 2019 09:30:13 +0000 (10:30 +0100)
sass/base/generic.sass
sass/base/minireset.sass
sass/elements/content.sass
sass/elements/table.sass

index bf9bde0a9222596d45102e0d7a9fd1c0aafb2fa6..4a48326b9a711928f6b525451e19e1949d5d84bb 100644 (file)
@@ -126,7 +126,8 @@ pre
 table
   td,
   th
-    text-align: left
     vertical-align: top
+    &:not([align])
+      text-align: left
   th
     color: $text-strong
index 9c34a899adebe30d96ed85b79f370bc5598d78ad..a488f121fce5f8e0d2fe32ba7ac6559ad474a886 100644 (file)
@@ -81,4 +81,5 @@ table
 td,
 th
   padding: 0
-  text-align: left
+  &:not([align])
+    text-align: left
index 3f5530ea160e2d2696d25d240a9f9e715c3a36e0..d6ad11d6c1f6cf8bbdf06e0ccca8cfcd04990355 100644 (file)
@@ -125,7 +125,8 @@ $content-table-foot-cell-color: $text-strong !default
       vertical-align: top
     th
       color: $content-table-cell-heading-color
-      text-align: left
+      &:not([align])
+        text-align: left
     thead
       td,
       th
index a1cf9360286289857ad693c71b862e1a0e6f0b14..d344a1f75fc89688e969562687025265872f38a0 100644 (file)
@@ -53,7 +53,8 @@ $table-striped-row-even-hover-background-color: $white-ter !default
         color: currentColor
   th
     color: $table-cell-heading-color
-    text-align: left
+    &:not([align])
+      text-align: left
   tr
     &.is-selected
       background-color: $table-row-active-background-color