Skip to content

Commit 2e0f884

Browse files
committed
Fixes control button on mobile
Signed-off-by: Daniel Kastl <[email protected]>
1 parent 1223f6b commit 2e0f884

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/stylesheets/app.scss

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ $breakpoint-tablet: 899px;
5353
.ol-full-screen button.ol-full-screen-false,
5454
.ol-rotate button.ol-rotate-reset,
5555
.ol-bar .ol-button button {
56-
font-size: 1.6em;
56+
font-size: 1.5rem;
5757
}
5858

5959
div.ol-full-screen {
@@ -66,7 +66,10 @@ div.ol-rotate {
6666

6767
.ol-control.ol-bar.ol-top.ol-left, .ol-control.ol-bar.ol-top.ol-right {
6868
top: 5.0rem;
69+
}
6970

71+
.ol-touch .ol-layerswitcher>button {
72+
font-size: 1.5rem;
7073
}
7174

7275
.tabular .ol-layerswitcher label {

0 commit comments

Comments
 (0)