mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-29 16:19:53 +02:00
Rewrite docs tables in Markdown with table shortcode (#31337)
Co-authored-by: XhmikosR <xhmikosr@gmail.com> Co-authored-by: GeoSot <geo.sotis@gmail.com>
This commit is contained in:
@@ -31,15 +31,12 @@
|
||||
}
|
||||
|
||||
// Override Bootstrap defaults
|
||||
> .table {
|
||||
max-width: 100%;
|
||||
> .table,
|
||||
> .table-responsive .table {
|
||||
margin-bottom: 1.5rem;
|
||||
@include font-size(.875rem);
|
||||
|
||||
@include media-breakpoint-down(lg) {
|
||||
display: block;
|
||||
overflow-x: auto;
|
||||
|
||||
&.table-bordered {
|
||||
border: 0;
|
||||
}
|
||||
@@ -61,6 +58,7 @@
|
||||
}
|
||||
|
||||
// Prevent breaking of code
|
||||
// stylelint-disable-next-line selector-max-compound-selectors
|
||||
td:first-child > code {
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
Reference in New Issue
Block a user