summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEltrac <hi@guhub.cn>2023-06-07 23:10:08 +0800
committerGitHub <noreply@github.com>2023-06-07 23:10:08 +0800
commit845cbc0509448f7a5c625db1f5cfa7ff04d00613 (patch)
treedd437b1dcf38556092c1ecbde864c842a5018556
parent0ac219f9e8a9da77200b8f18349bce169060077b (diff)
parent2dd29de6cee947336205bbba35cd0c013553f7c1 (diff)
Merge pull request #30 from LiCaoZ/patch-1
Fix: Focus mode button misalignment
-rw-r--r--assets/matcha/matcha.reset.css4
1 files changed, 2 insertions, 2 deletions
diff --git a/assets/matcha/matcha.reset.css b/assets/matcha/matcha.reset.css
index aaaa4f5..8f4e900 100644
--- a/assets/matcha/matcha.reset.css
+++ b/assets/matcha/matcha.reset.css
@@ -143,7 +143,7 @@ pre::-webkit-scrollbar-corner {
.focus-mode-btn {
color: var(--text-gray);
top: 0;
- position: absolute;
+ position: relative;
line-height: 0
}
@media (max-width: 992px) {
@@ -165,4 +165,4 @@ pre::-webkit-scrollbar-corner {
.focus-mode .container {
margin-left: auto
}
-} \ No newline at end of file
+}