Changed sidebar close button to Bootstrap

This commit is contained in:
Anton Khorev 2022-07-27 19:35:29 +03:00
parent 21d52f2d3f
commit 5ed2bfc950
2 changed files with 2 additions and 8 deletions

View file

@ -22,9 +22,8 @@ L.OSM.layers = function (options) {
.attr("class", "sidebar_heading")
.appendTo($ui)
.append(
$("<span>")
.text(I18n.t("javascripts.close"))
.attr("class", "icon close")
$("<button type='button' class='btn-close float-end mt-1'>")
.attr("aria-label",I18n.t("javascripts.close"))
.bind("click", toggle))
.append(
$("<h4>")

View file

@ -633,11 +633,6 @@ body.compact-nav {
padding: $lineheight/2 $lineheight;
// background: $offwhite;
// border-bottom: 1px solid $grey;
> .close {
float: right;
margin-top: 2px;
cursor: pointer;
}
}
#browse_status {