diff options
| author | Jieiku | 2024-06-27 17:25:10 -0700 |
|---|---|---|
| committer | Jieiku | 2024-06-27 17:25:10 -0700 |
| commit | 1718eda91c4bd8f372408b7ab8e4d8c142411ed2 (patch) | |
| tree | d049ffbe1f9401e0cc583d9acbdfd8ee3b0a4536 | |
| parent | d7a834c523e517b1f11c432ccbc9f46e96bdc1c0 (diff) | |
| download | abridge-1718eda91c4bd8f372408b7ab8e4d8c142411ed2.tar.gz abridge-1718eda91c4bd8f372408b7ab8e4d8c142411ed2.tar.bz2 abridge-1718eda91c4bd8f372408b7ab8e4d8c142411ed2.zip | |
Update Tap Targets Size for Lighthouse Score
| -rw-r--r-- | sass/abridge.scss | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/sass/abridge.scss b/sass/abridge.scss index 38ff80c..193b3e5 100644 --- a/sass/abridge.scss +++ b/sass/abridge.scss @@ -1152,18 +1152,18 @@ $syntax: true !default;//syntax highlighting for code blocks } .searchd { display: flex; + position: relative; align-items: center; white-space: nowrap; } .searchd > input { max-width: 100%; flex-grow: 1; - padding-right: 1rem;//inlayed search icon + padding-right: 2rem;//inlayed search icon } .searchd > button {//inlayed search icon - position: relative; - left: -1rem; - margin-left: -1rem; + position: absolute; + right: .5rem; } // mobile first is min-width for desktop instead of max-width for mobile @if map-get($breakpoints, "md") { @@ -1366,6 +1366,8 @@ $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; |
