diff options
author | Mark Otto <markdotto@gmail.com> | 2022-02-21 20:58:15 +0300 |
---|---|---|
committer | Mark Otto <markdotto@gmail.com> | 2022-02-23 22:46:05 +0300 |
commit | 88fc9264db59017df891de15c500f3bd361a0a37 (patch) | |
tree | d5662fd375f9763ff92ce0ff766f2e745f016b9e | |
parent | 0a87bd0e9556e84ed154de75b9e744d837ea931a (diff) |
Manually tweak some tables
-rw-r--r-- | site/assets/scss/_content.scss | 12 | ||||
-rw-r--r-- | site/content/docs/5.1/customize/options.md | 2 | ||||
-rw-r--r-- | site/content/docs/5.1/utilities/api.md | 2 |
3 files changed, 14 insertions, 2 deletions
diff --git a/site/assets/scss/_content.scss b/site/assets/scss/_content.scss index 4117ae4c2e..2615788852 100644 --- a/site/assets/scss/_content.scss +++ b/site/assets/scss/_content.scss @@ -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); } diff --git a/site/content/docs/5.1/customize/options.md b/site/content/docs/5.1/customize/options.md index 99aa258db9..5013fb9b31 100644 --- a/site/content/docs/5.1/customize/options.md +++ b/site/content/docs/5.1/customize/options.md @@ -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" >}}). | diff --git a/site/content/docs/5.1/utilities/api.md b/site/content/docs/5.1/utilities/api.md index f961a5da9b..aafccca83c 100644 --- a/site/content/docs/5.1/utilities/api.md +++ b/site/content/docs/5.1/utilities/api.md @@ -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 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). | |