Skip to content

Commit

Permalink
fix(style): don't use css directly for HTML tag
Browse files Browse the repository at this point in the history
  • Loading branch information
Octobug committed Nov 14, 2023
1 parent 1f78f24 commit 2b34e9d
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .vitepress/theme/components/HomeFeed.vue
Original file line number Diff line number Diff line change
Expand Up @@ -110,8 +110,7 @@ function turnTo(n: number) {
font-size: 0.9em;
}
button {
position: relative;
.pagination button {
color: var(--vp-c-text-1);
cursor: pointer;
font-size: 1em;
Expand All @@ -120,7 +119,7 @@ button {
font-style: italic;
}
button:hover {
.pagination button:hover {
border-bottom: 3px solid var(--vp-c-text-1);
}
Expand Down

0 comments on commit 2b34e9d

Please sign in to comment.