Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
15 changes: 9 additions & 6 deletions projects/maps-ng/src/components/si-map/si-map.component.scss
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
@use 'sass:map';
@use '@siemens/element-theme/src/styles/variables';

$main-button-block-size: 32px;
$main-button-block-size: calc(1rem + 2 * map.get(variables.$spacers, 4));
$main-button-margin: 1px;

:host {
Expand Down Expand Up @@ -29,9 +29,9 @@ $main-button-margin: 1px;
margin: 0;
line-height: 1;
border-radius: 0;
inline-size: 32px;
inline-size: $main-button-block-size;
block-size: $main-button-block-size;
font-size: 1.5rem;
font-size: variables.$si-icon-font-size;
outline: none;

&:hover {
Expand Down Expand Up @@ -68,8 +68,9 @@ $main-button-margin: 1px;
}

.ol-zoom {
padding-block-end: map.get(variables.$spacers, 4) + $main-button-margin +
$main-button-block-size;
padding-block-end: calc(
#{map.get(variables.$spacers, 4) + $main-button-margin} + #{$main-button-block-size}
);
}

.ol-attribution {
Expand All @@ -86,7 +87,9 @@ $main-button-margin: 1px;
}

.ol-full-screen {
inset-block-end: 10 * map.get(variables.$spacers, 4);
inset-block-end: calc(
#{map.get(variables.$spacers, 4) + 3 * $main-button-margin} + 3 * $main-button-block-size
);
Comment thread
spliffone marked this conversation as resolved.
inset-inline-end: map.get(variables.$spacers, 4);
}

Expand Down
Loading