From: Mark Otto Date: Sat, 20 Jan 2018 23:10:19 +0000 (-0800) Subject: rearrange and override extra borders X-Git-Tag: v4.1.0~148 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3a6ab45b78dded99018fcd05ee0c0ca7b196f983;p=thirdparty%2Fbootstrap.git rearrange and override extra borders --- diff --git a/scss/_tables.scss b/scss/_tables.scss index 1f13fb78e8..b32732f23a 100644 --- a/scss/_tables.scss +++ b/scss/_tables.scss @@ -42,9 +42,9 @@ } -// Bordered version +// Border versions // -// Add borders all around the table and between all the columns. +// Add or remove borders all around the table and between all the columns. .table-bordered { border: $table-border-width solid $table-border-color; @@ -62,6 +62,14 @@ } } +.table-borderless { + th, + td, + thead th, + tbody + tbody { + border: 0; + } +} // Zebra-striping // @@ -151,12 +159,6 @@ } } -.table-borderless { - th, - td { - border: 0; - } -} // Responsive tables //