Use standard padding size for map-ui sidebar
The previous padding didn't match the main sidebar, and also used sass division as part of the calculation.
This commit is contained in:
parent
6fc0f764d5
commit
c162a9660e
4 changed files with 4 additions and 11 deletions
|
@ -20,7 +20,7 @@ L.OSM.sidebarPane = function (options, uiClass, buttonTitle, paneTitle) {
|
|||
var $ui = $("<div>")
|
||||
.attr("class", uiClass + "-ui");
|
||||
|
||||
$("<div class='sidebar_heading d-flex'>")
|
||||
$("<div class='d-flex p-3 pb-0'>")
|
||||
.appendTo($ui)
|
||||
.append($("<h4 class='flex-grow-1 text-break'>")
|
||||
.text(I18n.t(paneTitle)))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue