aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpml68 <tutorialmester@gmail.com>2024-01-28 18:38:06 +0100
committerpml68 <tutorialmester@gmail.com>2024-01-28 18:38:06 +0100
commit8b365ae309f77e212d906def6854ab620e617388 (patch)
tree0d64e5cdcb87e0818a25202429b9405902fb19b0
parentchore: update packages (diff)
downloadpml68.dev-8b365ae309f77e212d906def6854ab620e617388.tar.gz
fix: icon size problems
-rw-r--r--src/app.scss5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/app.scss b/src/app.scss
index 8cca3d9..0780b91 100644
--- a/src/app.scss
+++ b/src/app.scss
@@ -4,7 +4,8 @@ $font-min: 16px;
$font-desired: calc((2.6vh + 8vw) / 2);
$font-max: 32px;
-$icon-desired: calc((8vh + 5vw) / 2);
+$icon-min: 50px;
+$icon-desired: calc((3.25vh + 10vw) / 2);
$icon-max: 96px;
*{
@@ -28,7 +29,7 @@ body {
}
.social-icon {
- font-size: clamp($font-min, $icon-desired, $icon-max);
+ font-size: clamp($icon-min, $icon-desired, $icon-max);
}
a {