mirror of
https://github.com/facebook/docusaurus.git
synced 2025-07-17 16:47:56 +02:00
feat(v2): allow to define custom CSS class for Tabs component (#3580)
* feat(v2): allow to define custom CSS class for Tabs component * Update website/docs/markdown-features.mdx Co-authored-by: Alexey Pyltsyn <lex61rus@gmail.com> Co-authored-by: Alexey Pyltsyn <lex61rus@gmail.com>
This commit is contained in:
parent
e0c644e623
commit
b85e6e0205
4 changed files with 57 additions and 4 deletions
|
@ -49,6 +49,19 @@ html[data-theme='dark'] .header-github-link:before {
|
|||
no-repeat;
|
||||
}
|
||||
|
||||
.unique-tabs .tabs__item {
|
||||
height: 18px;
|
||||
line-height: 16px;
|
||||
margin-right: 8px;
|
||||
}
|
||||
|
||||
.unique-tabs .tabs__item--active {
|
||||
border: 0;
|
||||
color: #fff;
|
||||
border-radius: var(--ifm-global-radius);
|
||||
background-color: var(--ifm-tabs-color-active);
|
||||
}
|
||||
|
||||
/*
|
||||
TODO temporary, should be handled by infima next release
|
||||
https://github.com/facebookincubator/infima/commit/7820399af53c182b1879aa6d7fceb4d296f78ce0
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue