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:
Bartosz Kaszubowski 2020-10-14 11:34:44 +02:00 committed by GitHub
parent e0c644e623
commit b85e6e0205
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 57 additions and 4 deletions

View file

@ -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