mirror of
https://github.com/tenrok/bootstrap.git
synced 2026-06-17 19:21:23 +03:00
Manually tweak some tables
This commit is contained in:
@@ -57,12 +57,24 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Prevent breaking of code
|
// Prevent breaking of code
|
||||||
|
th,
|
||||||
td:first-child > code {
|
td:first-child > code {
|
||||||
white-space: nowrap;
|
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 {
|
.bd-title {
|
||||||
@include font-size(3rem);
|
@include font-size(3rem);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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.
|
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 |
|
| Variable | Values | Description |
|
||||||
| ------------------------------ | ---------------------------------- | -------------------------------------------------------------------------------------- |
|
| ------------------------------ | ---------------------------------- | -------------------------------------------------------------------------------------- |
|
||||||
| `$spacer` | `1rem` (default), or any value > 0 | Specifies the default spacer value to programmatically generate our [spacer utilities]({{< docsref "/utilities/spacing" >}}). |
|
| `$spacer` | `1rem` (default), or any value > 0 | Specifies the default spacer value to programmatically generate our [spacer utilities]({{< docsref "/utilities/spacing" >}}). |
|
||||||
|
|||||||
@@ -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:
|
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 |
|
| 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). |
|
| [`property`](#property) | **Required** | – | Name of the property, this can be a string or an array of strings (e.g., horizontal paddings or margins). |
|
||||||
|
|||||||
Reference in New Issue
Block a user