1
0
mirror of https://github.com/cotes2020/jekyll-theme-chirpy.git synced 2026-06-21 23:38:39 +00:00

refactor(ui): reduce the size of the 'close' and 'copy' buttons

- The close button in the TOC popup
- The copy button in the code block
This commit is contained in:
Cotes Chung
2026-06-20 20:23:33 +08:00
parent 5cc9dc66ac
commit 18cf79bdac
4 changed files with 7 additions and 9 deletions
+4 -2
View File
@@ -219,8 +219,9 @@ div {
@extend %rounded;
border: 1px solid transparent;
height: v.$code-header-height;
width: v.$code-header-height;
height: 2rem;
width: 2rem;
margin-right: 0.125rem;
padding: 0;
background-color: inherit;
@@ -234,6 +235,7 @@ div {
}
i {
font-size: 90%;
color: var(--clipboard-checked-color);
}
}
+1 -4
View File
@@ -93,10 +93,7 @@
}
button {
> i {
font-size: 1.25rem;
vertical-align: middle;
}
font-size: 0.75rem;
&:focus-visible {
box-shadow: none;