aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--config.toml2
-rw-r--r--sass/abridge.scss7
-rw-r--r--templates/base.html2
3 files changed, 7 insertions, 4 deletions
diff --git a/config.toml b/config.toml
index 47f5368..61b2ea0 100644
--- a/config.toml
+++ b/config.toml
@@ -280,7 +280,7 @@ favicon16 = "favicon-16x16.png" # favicon-16x16.png
###############################################################################
### To disable any of these icons set them to "false" (will default to unicode icons instead)
-#icon_search = "svgs search" # Search button in search box.
+#icon_search = "svgs svgm search" # Search button in search box.
#icon_adjust = "svgs adjust" # Theme Switcher button in top menu. (add class svgh to change colors on hover)
#icon_first = "svgs svgh angll" # Pagination First Page.
#icon_prev = "svgs svgh angl" # Pagination Previous Page.
diff --git a/sass/abridge.scss b/sass/abridge.scss
index 193b3e5..e9ad2ec 100644
--- a/sass/abridge.scss
+++ b/sass/abridge.scss
@@ -1366,13 +1366,16 @@ $syntax: true !default;//syntax highlighting for code blocks
.svgs {
width: var(--fs);
height: var(--fs);
- min-width: 24px;
- min-height: 24px;
display: inline-block;
//overflow: hidden;
text-align: center;
vertical-align: middle;
}
+ .svgm {
+ //set minimum width and height for items with insufficient spacings
+ min-width: 24px;
+ min-height: 24px;
+ }
.fa-a:hover {
color: var(--a3);
opacity: 1;
diff --git a/templates/base.html b/templates/base.html
index b4e01d9..e36b8b1 100644
--- a/templates/base.html
+++ b/templates/base.html
@@ -94,7 +94,7 @@
<div>
{%- if config.build_search_index %}
- {%- set icon_search=config.extra.icon_search | default(value="svgs search") %}
+ {%- set icon_search=config.extra.icon_search | default(value="svgs svgm search") %}
<div>
<form autocomplete=off class="js" name="goSearch" id="searchbox">
<div class="searchd">