From e0261ae942f0580c9fa917f5f04b950d77115676 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kamil=20My=C5=9Bliwiec?= Date: Thu, 15 Aug 2024 10:58:58 +0200 Subject: [PATCH] chore: theme toggle icon tiny improvements --- .../social-wrapper.component.html | 1 - .../social-wrapper.component.scss | 7 +--- src/app/homepage/header/header.component.html | 1 + .../theme-mode-toggle.component.scss | 38 +++++++++++++++---- .../theme-mode-toggle.component.ts | 14 ++++--- 5 files changed, 41 insertions(+), 20 deletions(-) diff --git a/src/app/common/social-wrapper/social-wrapper.component.html b/src/app/common/social-wrapper/social-wrapper.component.html index 0496a91386..f4191b3d8f 100644 --- a/src/app/common/social-wrapper/social-wrapper.component.html +++ b/src/app/common/social-wrapper/social-wrapper.component.html @@ -27,5 +27,4 @@ rel="nofollow"> - diff --git a/src/app/common/social-wrapper/social-wrapper.component.scss b/src/app/common/social-wrapper/social-wrapper.component.scss index 104101aba2..8755dccb93 100644 --- a/src/app/common/social-wrapper/social-wrapper.component.scss +++ b/src/app/common/social-wrapper/social-wrapper.component.scss @@ -12,7 +12,6 @@ .social-wrapper { @extend .center-top; float: right; - padding-right: 40px; position: relative; display: flex; @@ -41,18 +40,16 @@ color: var(--primary); } } - @include media(medium) { - padding-right: 20px; - } + @include media(small) { top: 0; transform: none; - padding-right: 0; a { display: none; } } + @media print { display: none; } diff --git a/src/app/homepage/header/header.component.html b/src/app/homepage/header/header.component.html index 4785ca8759..3f8697e2f0 100644 --- a/src/app/homepage/header/header.component.html +++ b/src/app/homepage/header/header.component.html @@ -43,6 +43,7 @@ +