-
-
Notifications
You must be signed in to change notification settings - Fork 8.8k
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
style(v2): add className to tab container #4086
Conversation
[V1] Deploy preview failure Built without sensitive environment variables with commit 73edd52 https://app.netlify.com/sites/docusaurus-1/deploys/600e881bb401b10007c5658d |
Deploy preview for docusaurus-2 ready! Built without sensitive environment variables with commit 73edd52 |
Size Change: -2 B (0%) Total Size: 27.1 kB ℹ️ View Unchanged
|
⚡️ Lighthouse report for the changes in this PR:
Lighthouse ran on https://deploy-preview-4086--docusaurus-2.netlify.app/classic/ |
@@ -82,7 +82,7 @@ function Tabs(props: Props): JSX.Element { | |||
}; | |||
|
|||
return ( | |||
<div> | |||
<div className="tabs--container"> |
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.
Why use this separator --
?
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.
updated to a single dash
thanks 👍 |
Motivation
I like the classic theme and would like to theme the Tabs component. The Tabs component's wrapper div doesn't have a class name on it and that would be useful.
This PR adds a classname. No CSS is added.
Have you read the [Contributing Guidelines on pull requests]
Yes
Test Plan
Ensure there is no side effect: the class name isn't used in the repo