Remove custom right sidebar section class

This commit is contained in:
Anton Khorev 2024-04-11 17:55:05 +03:00
parent 7a458ab635
commit 5c0a55d7ff
4 changed files with 6 additions and 11 deletions

View file

@ -3,7 +3,7 @@ L.OSM.key = function (options) {
control.onAddPane = function (map, button, $ui) {
var $section = $("<div>")
.attr("class", "section")
.attr("class", "p-3")
.appendTo($ui);
$ui

View file

@ -5,7 +5,7 @@ L.OSM.layers = function (options) {
var layers = options.layers;
var baseSection = $("<div>")
.attr("class", "section base-layers d-grid gap-3")
.attr("class", "base-layers d-grid gap-3 p-3 border-bottom border-secondary-subtle")
.appendTo($ui);
layers.forEach(function (layer, i) {
@ -79,7 +79,7 @@ L.OSM.layers = function (options) {
if (OSM.STATUS !== "api_offline" && OSM.STATUS !== "database_offline") {
var overlaySection = $("<div>")
.attr("class", "section overlay-layers")
.attr("class", "overlay-layers p-3")
.appendTo($ui);
$("<p>")

View file

@ -10,7 +10,7 @@ L.OSM.share = function (options) {
// Link / Embed
var $linkSection = $("<div>")
.attr("class", "section share-link")
.attr("class", "share-link p-3 border-bottom border-secondary-subtle")
.appendTo($ui);
$("<h4>")
@ -104,7 +104,7 @@ L.OSM.share = function (options) {
// Geo URI
var $geoUriSection = $("<div>")
.attr("class", "section share-geo-uri")
.attr("class", "share-geo-uri p-3 border-bottom border-secondary-subtle")
.appendTo($ui);
$("<h4>")
@ -119,7 +119,7 @@ L.OSM.share = function (options) {
// Image
var $imageSection = $("<div>")
.attr("class", "section share-image")
.attr("class", "share-image p-3")
.appendTo($ui);
$("<h4>")

View file

@ -383,11 +383,6 @@ body.small-nav {
width: 250px;
height: 100%;
overflow: auto;
.section {
border-bottom: 1px solid $grey;
padding: $spacer;
}
}
}