-
-
Notifications
You must be signed in to change notification settings - Fork 79k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Doc: Uniformization of nav tabs content panes #36163
Doc: Uniformization of nav tabs content panes #36163
Conversation
@@ -346,13 +346,13 @@ Use the tab JavaScript plugin—include it individually or through the compiled | |||
</ul> | |||
<div class="tab-content" id="myTabContent"> | |||
<div class="tab-pane fade show active" id="home" role="tabpanel" aria-labelledby="home-tab" tabindex="0"> | |||
<p><strong>This is some placeholder content the Home tab's associated content.</strong> Clicking another tab will toggle the visibility of this one for the next. The tab JavaScript swaps classes to control the content visibility and styling. You can use it with tabs, pills, and any other <code>.nav</code>-powered navigation. No1</p> | |||
<p><strong>This is some placeholder content the Home tab's associated content.</strong> Clicking another tab will toggle the visibility of this one for the next. The tab JavaScript swaps classes to control the content visibility and styling. You can use it with tabs, pills, and any other <code>.nav</code>-powered navigation.</p> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I can understand the thought, but I would prefer at least, to emphasize only the different words and not the whole sentence.
(As you rightly imagined, as I developed this, I couldn't focus on the differences)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yep good point! I've emphasized only <strong>Home tab's</strong>
instead of the whole sentence in d711e82.
However I'm not sure if it wouldn't be better in English to emphasize only <strong>Home</strong>
or <strong>Home tab</strong>'s
in good English 🤷
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I prefer it as you did it. @mdo are you fine with it?
2fb73b6
to
e53f0c3
Compare
e53f0c3
to
d711e82
Compare
This PR proposes to uniformize the nav tabs content panes in the "Navs and tabs" page.
The removed texts are probably a leftover of tests during the development.
Live preview