From: Andy Allan Date: Wed, 2 Aug 2023 14:54:16 +0000 (+0100) Subject: Merge pull request #4112 from AntonKhorev/no-float-inside-sidebar X-Git-Tag: live~679 X-Git-Url: https://git.openstreetmap.org/rails.git/commitdiff_plain/5796bf6347aa6e1ce32e5b206c3261ce73f82684?hp=-c Merge pull request #4112 from AntonKhorev/no-float-inside-sidebar Remove unnecessary full-width float css from sidebar --- 5796bf6347aa6e1ce32e5b206c3261ce73f82684 diff --combined app/assets/stylesheets/common.scss index 848e3f1be,fe38bbbdf..34f2ada73 --- a/app/assets/stylesheets/common.scss +++ b/app/assets/stylesheets/common.scss @@@ -422,9 -422,6 +422,6 @@@ body.small-nav > div { position: relative; - float: left; - clear: both; - width: 100%; } } @@@ -533,6 -530,13 +530,6 @@@ } } -.layers-ui, -.share-ui { - li:last-child { - margin-bottom: 0; - } -} - .layers-ui { .base-layers { .leaflet-container { @@@ -584,6 -588,10 +581,6 @@@ } .share-ui { - .share-tab { - display: none; - } - .share-link { input[type=text], textarea { @@@ -600,6 -608,10 +597,6 @@@ } } - #embed_html { - resize: vertical; - } - #mapnik_scale { width: 100px; } @@@ -627,6 -639,19 +624,6 @@@ #attribution { display: none; - - table { - width: 100% - } -} - -.attribution_license, -.attribution_project { - text-align: left; -} - -.attribution_notice { - text-align: center; } .donate-attr { color: darken($green, 10%) !important; }