Skip to content

Commit

Permalink
fix(site-component): hidden header links (#442)
Browse files Browse the repository at this point in the history
  • Loading branch information
fennghuang authored Jan 11, 2024
1 parent 6a2c13f commit 61ca741
Showing 1 changed file with 11 additions and 9 deletions.
20 changes: 11 additions & 9 deletions packages/components/src/components/td-header/portal.less
Original file line number Diff line number Diff line change
@@ -1,9 +1,3 @@
@media screen and (max-width: 960px) {
.TDesign-base-components-links {
display: none;
}
}

.TDesign-base-components-links {
display: flex;
flex-direction: column;
Expand Down Expand Up @@ -100,18 +94,26 @@
.alpha-tag {
color: var(--brand-main);
background: var(--brand-main-light);
font-family: SFMono-Regular, Consolas, Liberation Mono, Menlo, monospace;
font-family: SFMono-Regular, Consolas, "Liberation Mono", Menlo, monospace;
}

.beta-tag,
.rc-tag {
color: var(--success-main);
background: var(--success-main-light);
font-family: SFMono-Regular, Consolas, Liberation Mono, Menlo, monospace;
font-family: SFMono-Regular, Consolas, "Liberation Mono", Menlo, monospace;
}

.stable-tag {
color: #029CD4;
background: rgba(2, 156, 212, .1);
font-family: SFMono-Regular, Consolas, Liberation Mono, Menlo, monospace;
font-family: SFMono-Regular, Consolas, "Liberation Mono", Menlo, monospace;
}
}
}

@media screen and (max-width: 960px) {
.TDesign-base-components-links {
display: none;
}
}

0 comments on commit 61ca741

Please sign in to comment.