diff options
| author | Jieiku | 2024-06-29 12:33:48 -0700 |
|---|---|---|
| committer | Jieiku | 2024-06-29 12:33:48 -0700 |
| commit | e1f0bfa039514f78503549c7bdc5851ee2b93a1b (patch) | |
| tree | 2928e76857cbcea21d5f66113bd12e021ce244a0 | |
| parent | 38c95040361cc45ec9e7b8e73b00952ea83f66de (diff) | |
| download | abridge-e1f0bfa039514f78503549c7bdc5851ee2b93a1b.tar.gz abridge-e1f0bfa039514f78503549c7bdc5851ee2b93a1b.tar.bz2 abridge-e1f0bfa039514f78503549c7bdc5851ee2b93a1b.zip | |
Refactor Lighthouse fix
| -rw-r--r-- | config.toml | 2 | ||||
| -rw-r--r-- | sass/abridge.scss | 7 | ||||
| -rw-r--r-- | templates/base.html | 2 |
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"> |
