hotfix: fixed telegraf install tab widths, closes #4067
parent
0a145d1b52
commit
db158ef67a
|
|
@ -386,6 +386,12 @@ This shortcode must be closed with `{{% /tabs %}}`.
|
|||
|
||||
**Note**: The `%` characters used in this shortcode indicate that the contents should be processed as Markdown.
|
||||
|
||||
The `{{% tabs %}}` shortcode has an optional `style` argument that lets you
|
||||
assign CSS classes to the tags HTML container. The following classes are available:
|
||||
|
||||
- **small**: Tab buttons are smaller and don't scale to fit the width.
|
||||
- **even-wrap**: Prevents uneven tab widths when tabs are forced to wrap.
|
||||
|
||||
`{{% tab-content %}}`
|
||||
This shortcode creates a container for a content block.
|
||||
Each content block in the tab group needs to be wrapped in this shortcode.
|
||||
|
|
|
|||
|
|
@ -16,6 +16,7 @@
|
|||
font-weight: $medium;
|
||||
padding: .65rem 1.25rem;
|
||||
display: inline-block;
|
||||
white-space: nowrap;
|
||||
text-align: center;
|
||||
color: $article-tab-text !important;
|
||||
border-radius: $radius;
|
||||
|
|
@ -59,6 +60,10 @@
|
|||
padding: .35rem 1rem;
|
||||
}
|
||||
}
|
||||
// Style suggested for tabs that have uneven button widths because of wrapping.
|
||||
&.even-wrap a {
|
||||
flex-basis: 25%;
|
||||
}
|
||||
}
|
||||
|
||||
.code-tabs {
|
||||
|
|
|
|||
|
|
@ -30,7 +30,7 @@ aren't synchronized with NTP, the timestamps on the data can be inaccurate.
|
|||
## Installation
|
||||
|
||||
{{< tabs-wrapper >}}
|
||||
{{% tabs %}}
|
||||
{{% tabs style="even-wrap" %}}
|
||||
[Ubuntu & Debian](#)
|
||||
[RedHat & CentOS](#)
|
||||
[SLES & openSUSE](#)
|
||||
|
|
|
|||
|
|
@ -30,7 +30,7 @@ aren't synchronized with NTP, the timestamps on the data can be inaccurate.
|
|||
## Installation
|
||||
|
||||
{{< tabs-wrapper >}}
|
||||
{{% tabs %}}
|
||||
{{% tabs style="even-wrap" %}}
|
||||
[Ubuntu & Debian](#)
|
||||
[RedHat & CentOS](#)
|
||||
[SLES & openSUSE](#)
|
||||
|
|
|
|||
|
|
@ -30,7 +30,7 @@ aren't synchronized with NTP, the timestamps on the data can be inaccurate.
|
|||
## Installation
|
||||
|
||||
{{< tabs-wrapper >}}
|
||||
{{% tabs %}}
|
||||
{{% tabs style="even-wrap" %}}
|
||||
[Ubuntu & Debian](#)
|
||||
[RedHat & CentOS](#)
|
||||
[SLES & openSUSE](#)
|
||||
|
|
|
|||
|
|
@ -30,7 +30,7 @@ aren't synchronized with NTP, the timestamps on the data can be inaccurate.
|
|||
## Installation
|
||||
|
||||
{{< tabs-wrapper >}}
|
||||
{{% tabs %}}
|
||||
{{% tabs style="even-wrap" %}}
|
||||
[Ubuntu & Debian](#)
|
||||
[RedHat & CentOS](#)
|
||||
[SLES & openSUSE](#)
|
||||
|
|
|
|||
|
|
@ -30,7 +30,7 @@ aren't synchronized with NTP, the timestamps on the data can be inaccurate.
|
|||
## Installation
|
||||
|
||||
{{< tabs-wrapper >}}
|
||||
{{% tabs %}}
|
||||
{{% tabs style="even-wrap" %}}
|
||||
[Ubuntu & Debian](#)
|
||||
[RedHat & CentOS](#)
|
||||
[SLES & openSUSE](#)
|
||||
|
|
|
|||
|
|
@ -34,7 +34,7 @@ aren't synchronized with NTP, the timestamps on the data can be inaccurate.
|
|||
## Installation
|
||||
|
||||
{{< tabs-wrapper >}}
|
||||
{{% tabs %}}
|
||||
{{% tabs style="even-wrap" %}}
|
||||
[Ubuntu & Debian](#)
|
||||
[RedHat & CentOS](#)
|
||||
[SLES & openSUSE](#)
|
||||
|
|
|
|||
|
|
@ -34,7 +34,7 @@ aren't synchronized with NTP, the timestamps on the data can be inaccurate.
|
|||
## Installation
|
||||
|
||||
{{< tabs-wrapper >}}
|
||||
{{% tabs %}}
|
||||
{{% tabs style="even-wrap" %}}
|
||||
[Ubuntu & Debian](#)
|
||||
[RedHat & CentOS](#)
|
||||
[SLES & openSUSE](#)
|
||||
|
|
|
|||
|
|
@ -34,7 +34,7 @@ aren't synchronized with NTP, the timestamps on the data can be inaccurate.
|
|||
## Installation
|
||||
|
||||
{{< tabs-wrapper >}}
|
||||
{{% tabs %}}
|
||||
{{% tabs style="even-wrap" %}}
|
||||
[Ubuntu & Debian](#)
|
||||
[RedHat & CentOS](#)
|
||||
[SLES & openSUSE](#)
|
||||
|
|
|
|||
|
|
@ -34,7 +34,7 @@ aren't synchronized with NTP, the timestamps on the data can be inaccurate.
|
|||
## Installation
|
||||
|
||||
{{< tabs-wrapper >}}
|
||||
{{% tabs %}}
|
||||
{{% tabs style="even-wrap" %}}
|
||||
[Ubuntu & Debian](#)
|
||||
[RedHat & CentOS](#)
|
||||
[SLES & openSUSE](#)
|
||||
|
|
|
|||
|
|
@ -34,7 +34,7 @@ aren't synchronized with NTP, the timestamps on the data can be inaccurate.
|
|||
## Installation
|
||||
|
||||
{{< tabs-wrapper >}}
|
||||
{{% tabs %}}
|
||||
{{% tabs style="even-wrap" %}}
|
||||
[Ubuntu & Debian](#)
|
||||
[RedHat & CentOS](#)
|
||||
[SLES & openSUSE](#)
|
||||
|
|
|
|||
|
|
@ -34,7 +34,7 @@ aren't synchronized with NTP, the timestamps on the data can be inaccurate.
|
|||
## Installation
|
||||
|
||||
{{< tabs-wrapper >}}
|
||||
{{% tabs %}}
|
||||
{{% tabs style="even-wrap" %}}
|
||||
[Ubuntu & Debian](#)
|
||||
[RedHat & CentOS](#)
|
||||
[SLES & openSUSE](#)
|
||||
|
|
|
|||
|
|
@ -35,7 +35,7 @@ aren't synchronized with NTP, the timestamps on the data can be inaccurate.
|
|||
## Installation
|
||||
|
||||
{{< tabs-wrapper >}}
|
||||
{{% tabs %}}
|
||||
{{% tabs style="even-wrap" %}}
|
||||
[Ubuntu & Debian](#)
|
||||
[RedHat & CentOS](#)
|
||||
[SLES & openSUSE](#)
|
||||
|
|
|
|||
|
|
@ -44,7 +44,7 @@ aren't synchronized with NTP, the timestamps on the data might be inaccurate.
|
|||
## Installation
|
||||
|
||||
{{< tabs-wrapper >}}
|
||||
{{% tabs %}}
|
||||
{{% tabs style="even-wrap" %}}
|
||||
[Ubuntu & Debian](#)
|
||||
[RedHat & CentOS](#)
|
||||
[SLES & openSUSE](#)
|
||||
|
|
|
|||
|
|
@ -30,7 +30,7 @@ aren't synchronized with NTP, the timestamps on the data can be inaccurate.
|
|||
## Installation
|
||||
|
||||
{{< tabs-wrapper >}}
|
||||
{{% tabs %}}
|
||||
{{% tabs style="even-wrap" %}}
|
||||
[Ubuntu & Debian](#)
|
||||
[RedHat & CentOS](#)
|
||||
[SLES & openSUSE](#)
|
||||
|
|
|
|||
Loading…
Reference in New Issue