Skip to content

Commit 7465b97

Browse files
committed
fix checkbox position in layer switcher
1 parent 771b530 commit 7465b97

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

assets/css/maptalks-control.css

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,8 @@
102102
}
103103
.maptalks-layer-switcher input {
104104
margin: 0 5px;
105-
vertical-align: text-top;
105+
position: relative;
106+
top: -2px;
106107
}
107108
.maptalks-layer-switcher input[disabled = 'disabled'] {
108109
cursor: not-allowed;

0 commit comments

Comments
 (0)