mirror of
https://github.com/twbs/bootstrap.git
synced 2022-11-09 12:25:43 -05:00
document table border collapse change, move from old normalize to our reboot
This commit is contained in:
parent
69219d4271
commit
ce249a555c
2 changed files with 3 additions and 1 deletions
|
@ -148,7 +148,7 @@ The `<pre>` element is reset to remove its `margin-top` and use `rem` units for
|
||||||
|
|
||||||
## Tables
|
## Tables
|
||||||
|
|
||||||
Tables are slightly adjusted to style `<caption>`s and ensure consistent `text-align` throughout. Additional changes for borders, padding, and more come with [the `.table` class]({{ site.baseurl }}/content/tables/).
|
Tables are slightly adjusted to style `<caption>`s, collapse borders, and ensure consistent `text-align` throughout. Additional changes for borders, padding, and more come with [the `.table` class]({{ site.baseurl }}/content/tables/).
|
||||||
|
|
||||||
<div class="bd-example">
|
<div class="bd-example">
|
||||||
<table>
|
<table>
|
||||||
|
|
|
@ -268,6 +268,8 @@ textarea {
|
||||||
//
|
//
|
||||||
|
|
||||||
table {
|
table {
|
||||||
|
// No longer part of Normalize since v4
|
||||||
|
border-collapse: collapse;
|
||||||
// Reset for nesting within parents with `background-color`.
|
// Reset for nesting within parents with `background-color`.
|
||||||
background-color: $table-bg;
|
background-color: $table-bg;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue