From 0439c163a03fc50487fbe1cbfc09dc38af7ed2f2 Mon Sep 17 00:00:00 2001
From: Jacky Zhao <j.zhao2k19@gmail.com>
Date: Fri, 20 May 2022 20:50:56 +0000
Subject: [PATCH] fix: js not executing if spa disabled
---
assets/styles/base.scss | 18 ++++++++++--------
1 files changed, 10 insertions(+), 8 deletions(-)
diff --git a/assets/styles/base.scss b/assets/styles/base.scss
index 3b2801b..de866fd 100644
--- a/assets/styles/base.scss
+++ b/assets/styles/base.scss
@@ -186,6 +186,7 @@
& > li {
display: inline-block;
+ margin: 0.4em 0;
}
& > li > a {
border-radius: 8px;
@@ -343,6 +344,7 @@
border: var(--outlinegray) 1px solid;
border-radius: 5px;
box-sizing: border-box;
+ min-height: 250px;
& > svg {
margin-bottom: -5px;
@@ -440,7 +442,7 @@
}
& > #results-container {
- & > .result-card {
+ & .result-card {
padding: 1em;
cursor: pointer;
transition: background 0.2s ease;
@@ -477,17 +479,17 @@
& > h3, & > p {
margin: 0;
}
-
- & .search-highlight {
- background-color: #afbfc966;
- padding: 0.05em 0.2em;
- border-radius: 3px;
- }
}
}
}
}
+.search-highlight {
+ background-color: #afbfc966;
+ padding: 0.05em 0.2em;
+ border-radius: 3px;
+}
+
.section-ul {
list-style: none;
padding-left: 0;
@@ -568,7 +570,7 @@
font-size: 0.8rem;
}
- & > p {
+ & > p, & > a {
margin: 0;
font-weight: 400;
user-select: none;
--
Gitblit v1.10.0