From 626edbb940c0ca928d3315523a937d6e8c96d11d Mon Sep 17 00:00:00 2001 From: Christoph Wiedenmann Date: Fri, 19 Jul 2024 12:18:14 +0200 Subject: [PATCH 1/2] fix: align anchors icons and adjust size --- guidemaker-ember-template/src/styles/addon.css | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/guidemaker-ember-template/src/styles/addon.css b/guidemaker-ember-template/src/styles/addon.css index cba33c2..f684122 100644 --- a/guidemaker-ember-template/src/styles/addon.css +++ b/guidemaker-ember-template/src/styles/addon.css @@ -193,7 +193,7 @@ h4 > a, h5 > a, h6 > a { margin-left: 12px; - vertical-align: middle; + vertical-align: baseline; } main h1 > a:link, @@ -211,9 +211,11 @@ h3 > a > svg, h4 > a > svg, h5 > a > svg, h6 > a > svg { - height: 18px; + height: 1em; fill: var(--color-gray-600); transform: rotate(45deg); + transition: fill 0.2s ease-in-out; + vertical-align: middle; } h1 > a:hover > svg, From ce39313fa5539618d54d2ab3f02469e745d6274c Mon Sep 17 00:00:00 2001 From: Christoph Wiedenmann Date: Fri, 19 Jul 2024 12:29:15 +0200 Subject: [PATCH 2/2] fix: reduce anchor icon size --- guidemaker-ember-template/src/styles/addon.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/guidemaker-ember-template/src/styles/addon.css b/guidemaker-ember-template/src/styles/addon.css index f684122..dd23e7c 100644 --- a/guidemaker-ember-template/src/styles/addon.css +++ b/guidemaker-ember-template/src/styles/addon.css @@ -211,7 +211,7 @@ h3 > a > svg, h4 > a > svg, h5 > a > svg, h6 > a > svg { - height: 1em; + height: 0.8em; fill: var(--color-gray-600); transform: rotate(45deg); transition: fill 0.2s ease-in-out;