Merge pull request #7869 from Budibase/fix/map-button-icon-alignment
Minor alignment fix for the embedded map button icons
This commit is contained in:
commit
caab57f585
|
@ -374,6 +374,11 @@
|
|||
min-height: 180px;
|
||||
min-width: 200px;
|
||||
}
|
||||
.embedded-map :global(a.map-svg-button) {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
}
|
||||
.embedded-map :global(.leaflet-top),
|
||||
.embedded-map :global(.leaflet-bottom) {
|
||||
z-index: 998;
|
||||
|
|
|
@ -37,7 +37,7 @@ const FullScreenControl = L.Control.extend({
|
|||
this._fullScreenButton = this._createButton(
|
||||
options.fullScreenContent,
|
||||
options.fullScreenTitle,
|
||||
"map-fullscreen",
|
||||
"map-fullscreen map-svg-button",
|
||||
container,
|
||||
this._fullScreen
|
||||
)
|
||||
|
@ -87,7 +87,7 @@ const LocationControl = L.Control.extend({
|
|||
this._locationButton = this._createButton(
|
||||
options.locationContent,
|
||||
options.locationTitle,
|
||||
"map-location",
|
||||
"map-location map-svg-button",
|
||||
container,
|
||||
this._location
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue