From 12ed9722d80e2ae517ac0face184339f07ae10fd Mon Sep 17 00:00:00 2001
From: Jacky Zhao <j.zhao2k19@gmail.com>
Date: Wed, 06 Apr 2022 05:43:11 +0000
Subject: [PATCH] fix: popover selection wrongly including line breaks
---
assets/styles/base.scss | 30 +++++++++++++++---------------
1 files changed, 15 insertions(+), 15 deletions(-)
diff --git a/assets/styles/base.scss b/assets/styles/base.scss
index 38c1f53..3202e8d 100644
--- a/assets/styles/base.scss
+++ b/assets/styles/base.scss
@@ -25,8 +25,8 @@
.mainTOC {
background: var(--lightgray);
- border-radius: 8px;
- padding: 0.8em;
+ border-radius: 5px;
+ padding: 0.75em 1em;
}
.mainTOC details summary {
@@ -67,12 +67,6 @@
}
}
-footer {
- margin-top: 4em;
- text-align: center;
-}
-
-
table {
width: 100%;
}
@@ -281,12 +275,10 @@
footer {
margin-top: 4em;
-
- & > a {
- font-size: 1em;
- color: var(--secondary);
- padding: 0 0.5em 3em 0.5em;
- }
+ text-align: center;
+ & ul {
+ padding-left: 0;
+ }
}
hr {
@@ -513,9 +505,17 @@
opacity: 0;
pointer-events: none;
transition: opacity 0.2s ease, transform 0.2s ease;
- transition-delay: 0.3s;
+ transition-delay: 0.1s;
user-select: none;
+ & > * {
+ display: none;
+ }
+
+ &.visible > * {
+ display: inline-block;
+ }
+
@media all and (max-width: 600px) {
display: none;
}
--
Gitblit v1.10.0