From d5b780720dc5a144c7236980b7d9432bd6824eca Mon Sep 17 00:00:00 2001 From: Aditya Telange <21258296+adityatelange@users.noreply.github.com> Date: Fri, 8 Jul 2022 20:28:22 +0530 Subject: [PATCH] Simplify share-buttons svg --- assets/css/common/post-single.css | 6 ------ layouts/partials/share_icons.html | 14 +++++++------- 2 files changed, 7 insertions(+), 13 deletions(-) diff --git a/assets/css/common/post-single.css b/assets/css/common/post-single.css index 34d3ec27..029e2155 100644 --- a/assets/css/common/post-single.css +++ b/assets/css/common/post-single.css @@ -340,12 +340,6 @@ margin-inline-end: 12px; } -.share-buttons a svg { - height: 30px; - width: 30px; - fill: currentColor; -} - h1:hover .anchor, h2:hover .anchor, h3:hover .anchor, diff --git a/layouts/partials/share_icons.html b/layouts/partials/share_icons.html index 85c59b3b..59ed0503 100644 --- a/layouts/partials/share_icons.html +++ b/layouts/partials/share_icons.html @@ -17,7 +17,7 @@ {{- if (cond ($custom) (in $ShareButtons "twitter") (true)) }} - + @@ -26,7 +26,7 @@ {{- if (cond ($custom) (in $ShareButtons "linkedin") (true)) }} - + @@ -35,7 +35,7 @@ {{- if (cond ($custom) (in $ShareButtons "reddit") (true)) }} - + @@ -44,7 +44,7 @@ {{- if (cond ($custom) (in $ShareButtons "facebook") (true)) }} - + @@ -53,7 +53,7 @@ {{- if (cond ($custom) (in $ShareButtons "whatsapp") (true)) }} - + @@ -62,10 +62,10 @@ {{- if (cond ($custom) (in $ShareButtons "telegram") (true)) }} - + {{- end }} - + \ No newline at end of file