Skip to content

Commit

Permalink
fix(components-Article): tidy up
Browse files Browse the repository at this point in the history
  • Loading branch information
sabertazimi committed Mar 9, 2023
1 parent d323d90 commit 80b66bf
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions components/Article/Article.css
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ div[class^='ant-typography'],
div[class*=' ant-typography'],
span[class^='ant-typography'],
span[class*=' ant-typography'],
.ant-anchor-link-title.ant-anchor-link-title.ant-anchor-link-title,
.ant-anchor-link-title-active.ant-anchor-link-title-active.ant-anchor-link-title-active {
.ant-anchor-link-title,
.ant-anchor-link-title-active {
font-family: var(--font-stack);
font-size: inherit;
}
Expand All @@ -25,14 +25,10 @@ section {
}

/* Add dark mode support for table of contents links */
.ant-anchor-link-title.ant-anchor-link-title.ant-anchor-link-title {
.ant-anchor-link-title.ant-anchor-link-title {
@apply hover:text-secondary dark:text-light dark:hover:text-secondary dark:focus:text-secondary;
}

.ant-anchor-link-title-active {
@apply dark:text-primary;
}

/* Add dark mode support for admonition title */
.ant-alert-message {
@apply dark:text-light;
Expand Down

0 comments on commit 80b66bf

Please sign in to comment.