From c352f567f620dfc1bb9e5d3195f644f0f9fbb14b Mon Sep 17 00:00:00 2001 From: bohung Date: Thu, 27 Oct 2022 21:21:27 +0800 Subject: [PATCH] Fix css bug. --- assets/stylesheets/template/RWD.scss | 7 ++----- assets/stylesheets/template/layout/header.scss | 2 ++ 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/assets/stylesheets/template/RWD.scss b/assets/stylesheets/template/RWD.scss index 071de4a..12ec163 100644 --- a/assets/stylesheets/template/RWD.scss +++ b/assets/stylesheets/template/RWD.scss @@ -7,14 +7,11 @@ } @media(max-width: $screen-xs) { - .container > .navbar-header { - width: 80%; - } .buttons-slogan{ - flex-wrap: wrap; + flex-wrap: wrap; } .big-title{ - font-size: 40px; + font-size: 40px; } } @media(max-width: 769px){ diff --git a/assets/stylesheets/template/layout/header.scss b/assets/stylesheets/template/layout/header.scss index b720d01..28c6e16 100644 --- a/assets/stylesheets/template/layout/header.scss +++ b/assets/stylesheets/template/layout/header.scss @@ -356,6 +356,7 @@ .dropdowns{ display: flex; flex-direction: row-reverse; + justify-content: flex-end; } } @@ -374,6 +375,7 @@ .navbar-header{ margin-bottom: 1em; width: 100%; + width: calc(100% - 2.5em); } }