From a78afc64d19720af86f5e8510a5c1e58e232baa0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ga=C3=ABl=20Poupard?= Date: Tue, 5 Nov 2019 11:35:58 +0100 Subject: [PATCH] feat(docs:nav-pills): remove border on tab-content on nav-pills examples --- site/docs/4.3/components/navs.md | 38 ++++++++++++++++++-------------- 1 file changed, 21 insertions(+), 17 deletions(-) diff --git a/site/docs/4.3/components/navs.md b/site/docs/4.3/components/navs.md index 8dad8a4214..38e657ed97 100644 --- a/site/docs/4.3/components/navs.md +++ b/site/docs/4.3/components/navs.md @@ -162,6 +162,7 @@ Takes the basic nav from above and adds the `.nav-tabs` class to generate a tabb {% endcapture %} {% include example.html content=example %} +[comment]: # Boosted mod ### Nav tabs light Nav tabs light differs only visually, with a full width bottom border and a different active state. @@ -184,21 +185,6 @@ Nav tabs light differs only visually, with a full width bottom border and a diff {% endcapture %} {% include example.html content=example %} -[comment]: # Boosted mod -### Responsive Tabs - -Responsive tabs allow tab layouts to be displayed as accordions on a mobile browser if the number of tabs exceeds 2. No configuration or javascript method call needed. Here is the markup: - -{% capture example %} -
- Tab 1 -
Anim pariatur cliche reprehenderit, enim eiusmod high life accusamus terry richardson ad squid. 3 wolf moon officia aute, non cupidatat skateboard dolor brunch
- Tab 2 -
Food truck quinoa nesciunt laborum eiusmod. Brunch 3 wolf moon tempor, sunt aliqua put a bird on it squid single-origin coffee nulla assumenda shoreditch et.
- Tab 3 -
Nihil anim keffiyeh helvetica, craft beer labore wes anderson cred nesciunt sapiente ea proident.
-
-{% endcapture %} {% include example.html content=example %} [comment]: # End mod ### Pills @@ -498,7 +484,7 @@ The tabs plugin also works with pills. Contact -
+
...
...
...
@@ -518,7 +504,7 @@ And with vertical pills.
-
+

Cillum ad ut irure tempor velit nostrud occaecat ullamco aliqua anim Lorem sint. Veniam sint duis incididunt do esse magna mollit excepteur laborum qui. Id id reprehenderit sit est eu aliqua occaecat quis et velit excepteur laborum mollit dolore eiusmod. Ipsum dolor in occaecat commodo et voluptate minim reprehenderit mollit pariatur. Deserunt non laborum enim et cillum eu deserunt excepteur ea incididunt minim occaecat.

@@ -557,6 +543,24 @@ And with vertical pills.
{% endhighlight %} +[comment]: # Boosted mod +### Responsive Tabs + +Responsive tabs allow tab layouts to be displayed as accordions on a mobile browser if the number of tabs exceeds 2. No configuration or javascript method call needed. Here is the markup: + +{% capture example %} +
+ Tab 1 +
Anim pariatur cliche reprehenderit, enim eiusmod high life accusamus terry richardson ad squid. 3 wolf moon officia aute, non cupidatat skateboard dolor brunch
+ Tab 2 +
Food truck quinoa nesciunt laborum eiusmod. Brunch 3 wolf moon tempor, sunt aliqua put a bird on it squid single-origin coffee nulla assumenda shoreditch et.
+ Tab 3 +
Nihil anim keffiyeh helvetica, craft beer labore wes anderson cred nesciunt sapiente ea proident.
+
+{% endcapture %} {% include example.html content=example %} + +[comment]: # End mod + ### Using data attributes You can activate a tab or pill navigation without writing any JavaScript by simply specifying `data-toggle="tab"` or `data-toggle="pill"` on an element. Use these data attributes on `.nav-tabs` or `.nav-pills`.