From e1f0bfa039514f78503549c7bdc5851ee2b93a1b Mon Sep 17 00:00:00 2001 From: Jieiku Date: Sat, 29 Jun 2024 12:33:48 -0700 Subject: Refactor Lighthouse fix --- config.toml | 2 +- sass/abridge.scss | 7 +++++-- 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 @@