Skip to content

Commit

Permalink
fix: fix hover color of some ant components
Browse files Browse the repository at this point in the history
  • Loading branch information
Keith-CY committed Dec 14, 2023
1 parent 06af857 commit eb8af5a
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions src/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -71,21 +71,25 @@ a {
color: inherit;
}

/* stylelint-disable selector-class-pattern */
@media (width <= 750px) {
/* stylelint-disable-next-line selector-class-pattern */
.rc-pagination-options-quick-jumper {
display: none;
}
}

@media (width <= 750px) {
/* stylelint-disable-next-line selector-class-pattern */
.ant-popover-inner-content {
padding: 5px;
}
}

/* stylelint-disable-next-line selector-class-pattern */
.ant-tooltip-inner {
white-space: pre-wrap;
}

.ant-btn-primary:hover,
.ant-tabs-tab:hover {
color: var(--primary-color);
}
/* stylelint-enable selector-class-pattern */

0 comments on commit eb8af5a

Please sign in to comment.