Skip to content
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

Merged

Conversation

julien-deramond
Copy link
Member

@julien-deramond julien-deramond commented Apr 13, 2022

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

@@ -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>
Copy link
Member

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)

Copy link
Member Author

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 🤷

Copy link
Member

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?

@julien-deramond julien-deramond force-pushed the main-jd-uniformization-of-nav-tabs-content-panes branch from 2fb73b6 to e53f0c3 Compare April 13, 2022 18:34
@julien-deramond julien-deramond force-pushed the main-jd-uniformization-of-nav-tabs-content-panes branch from e53f0c3 to d711e82 Compare April 13, 2022 18:35
@GeoSot GeoSot added the docs label Apr 13, 2022
@mdo mdo merged commit d059c1d into twbs:main Apr 13, 2022
@julien-deramond julien-deramond deleted the main-jd-uniformization-of-nav-tabs-content-panes branch April 14, 2022 05:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants