2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-05-18 12:39:41 +03:00

Manually tweak some tables

This commit is contained in:
Mark Otto
2022-02-21 09:58:15 -08:00
parent 0a87bd0e95
commit 88fc9264db
3 changed files with 14 additions and 2 deletions
+12
View File
@@ -57,12 +57,24 @@
}
// Prevent breaking of code
th,
td:first-child > code {
white-space: nowrap;
}
}
}
.table-options {
td:nth-child(2) {
min-width: 160px;
}
}
.table-options td:last-child,
.table-utilities td:last-child {
min-width: 280px;
}
.bd-title {
@include font-size(3rem);
}
+1 -1
View File
@@ -9,7 +9,7 @@ Customize Bootstrap with our built-in custom variables file and easily toggle gl
You can find and customize these variables for key global options in Bootstrap's `scss/_variables.scss` file.
{{< bs-table "table text-start" >}}
{{< bs-table "table table-options" >}}
| Variable | Values | Description |
| ------------------------------ | ---------------------------------- | -------------------------------------------------------------------------------------- |
| `$spacer` | `1rem` (default), or any value > 0 | Specifies the default spacer value to programmatically generate our [spacer utilities]({{< docsref "/utilities/spacing" >}}). |
+1 -1
View File
@@ -11,7 +11,7 @@ Bootstrap utilities are generated with our utility API and can be used to modify
The `$utilities` map contains all our utilities and is later merged with your custom `$utilities` map, if present. The utility map contains a keyed list of utility groups which accept the following options:
{{< bs-table "table text-start" >}}
{{< bs-table "table table-utilities" >}}
| Option | Type | Default&nbsp;value | Description |
| --- | --- | --- | --- |
| [`property`](#property) | **Required** | | Name of the property, this can be a string or an array of strings (e.g., horizontal paddings or margins). |