hotfix: fixed telegraf install tab widths, closes #4067

pull/4072/head
Scott Anderson 2022-05-26 08:53:40 -06:00
parent 0a145d1b52
commit db158ef67a
16 changed files with 25 additions and 14 deletions

View File

@ -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.

View File

@ -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 {

View File

@ -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](#)

View File

@ -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](#)

View File

@ -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](#)

View File

@ -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](#)

View File

@ -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](#)

View File

@ -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](#)

View File

@ -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](#)

View File

@ -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](#)

View File

@ -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](#)

View File

@ -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](#)

View File

@ -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](#)

View File

@ -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](#)

View File

@ -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](#)

View File

@ -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](#)