From: Anton Khorev Date: Tue, 3 Sep 2024 00:32:33 +0000 (+0300) Subject: Remove .btn-group wrapping Edit button X-Git-Tag: live~17^2 X-Git-Url: https://git.openstreetmap.org./rails.git/commitdiff_plain/414b01d3100ce7bf63aa20fe4bfe17fa491c4c86 Remove .btn-group wrapping Edit button --- diff --git a/app/assets/stylesheets/common.scss b/app/assets/stylesheets/common.scss index 042d4401c..7673891eb 100644 --- a/app/assets/stylesheets/common.scss +++ b/app/assets/stylesheets/common.scss @@ -119,7 +119,7 @@ header { } nav.primary { - & > .btn-group .btn-outline-primary { + #edit_tab .btn-outline-primary { @include button-outline-variant($green, $color-hover: $white, $active-color: $white); } @@ -205,7 +205,7 @@ body.small-nav { margin-right: 0; padding: 0; - > .btn-group { + #edit_tab { width: 100%; padding: 10px; } diff --git a/app/views/layouts/_header.html.erb b/app/views/layouts/_header.html.erb index 3e17d3474..fcf134fd2 100644 --- a/app/views/layouts/_header.html.erb +++ b/app/views/layouts/_header.html.erb @@ -8,25 +8,23 @@