From a4c75a25c0d6aefec48ebd1233d57183055336f2 Mon Sep 17 00:00:00 2001 From: mertmit Date: Wed, 18 Oct 2023 12:48:35 +0300 Subject: [PATCH] docs: join button alignment Signed-off-by: mertmit --- packages/noco-docs/src/css/header.scss | 42 ++++++++++++++------------ 1 file changed, 22 insertions(+), 20 deletions(-) diff --git a/packages/noco-docs/src/css/header.scss b/packages/noco-docs/src/css/header.scss index 0773faa2c3..b32b1f4f72 100644 --- a/packages/noco-docs/src/css/header.scss +++ b/packages/noco-docs/src/css/header.scss @@ -13,6 +13,28 @@ } } +.header-join-link, .header-join-link-medium { + height: 40px; + white-space: nowrap; + background-color: #36f; + border-radius: 12px; + align-items: center; + margin-left: 5px; + margin-right: 5px; + padding: 8px 24px; + font-size: .875rem; + font-weight: 700; + line-height: 1.25rem; + display: flex; + + color: white; + + &:hover { + color: #eeeeee; + } +} + + @media (max-width: 1100px) { .header-join-link { display: none; @@ -37,26 +59,6 @@ } } -.header-join-link, .header-join-link-medium { - height: 40px; - white-space: nowrap; - background-color: #36f; - border-radius: 12px; - align-items: center; - margin-left: 5px; - margin-right: 5px; - padding: 8px 24px; - font-size: .875rem; - font-weight: 700; - line-height: 1.25rem; - - color: white; - - &:hover { - color: #eeeeee; - } -} - .footer-join-link { white-space: nowrap; background-color: #36f;