From 9ccfabcbdac2d4bb23de6c23a611b5a682b5d174 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Javi=20Mart=C3=ADn?= Date: Mon, 28 Jun 2021 19:48:51 +0200 Subject: [PATCH] Fix language selector alignment Depending on the screen, it could appear a bit to the left of where it was supposed to be. --- app/assets/stylesheets/layout.scss | 5 ++++- app/assets/stylesheets/layout/locale_switcher.scss | 1 - 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/app/assets/stylesheets/layout.scss b/app/assets/stylesheets/layout.scss index 1c5de5b9a..b9539fc71 100644 --- a/app/assets/stylesheets/layout.scss +++ b/app/assets/stylesheets/layout.scss @@ -636,7 +636,10 @@ body > header, .top-links { background: $dark; font-size: $small-font-size; - padding-right: $line-height / 2; + + > :first-child { + @include grid-column-gutter; + } a { color: inherit; diff --git a/app/assets/stylesheets/layout/locale_switcher.scss b/app/assets/stylesheets/layout/locale_switcher.scss index dbc5918cd..424e7c793 100644 --- a/app/assets/stylesheets/layout/locale_switcher.scss +++ b/app/assets/stylesheets/layout/locale_switcher.scss @@ -2,7 +2,6 @@ @include has-fa-icon(angle-down, solid, after); float: left; margin-bottom: $line-height / 4; - margin-left: $line-height / 2; margin-top: $line-height / 4; position: relative;