Skip to content

Commit

Permalink
Hide duplicate tabs
Browse files Browse the repository at this point in the history
  • Loading branch information
JessSaavedra committed Mar 4, 2024
1 parent ad6a706 commit 26d2f42
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ Once you have your virtual environment created and activated, you will be able t
<Tabs
groupId="pip-or-conda"
defaultValue='pip'
className="hidden"
values={[
{label: 'pip', value:'pip'},
{label: 'conda', value:'conda'},
Expand Down
4 changes: 4 additions & 0 deletions docs/docusaurus/src/css/tabs.scss
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ div[role="tabpanel"]{
font-weight: var(--ifm-font-weight-normal);
line-height: var(--p-line-height);

&.hidden {
display: none;
}

& .tabs__item--active {
border-bottom: 0;
font-weight: var(--ifm-font-weight-bold);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ Once you have your virtual environment created and activated, you will be able t
<Tabs
groupId="pip-or-conda"
defaultValue='pip'
className="hidden"
values={[
{label: 'pip', value:'pip'},
{label: 'conda', value:'conda'},
Expand Down

0 comments on commit 26d2f42

Please sign in to comment.