Skip to content

Commit ff13ef3

Browse files
authored
Fix disabled contextmenu styling (#829)
* add styling for disabled contextmenu buttons * add opacity for contextmenu only
1 parent 1988836 commit ff13ef3

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/mapml.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,10 @@ button.mapml-button:disabled,
121121
color: #bbb;
122122
}
123123

124+
button.mapml-contextmenu-item:disabled {
125+
opacity: .3;
126+
}
127+
124128
.leaflet-control-layers-toggle {
125129
width: 44px !important;
126130
height: 44px !important;

0 commit comments

Comments
 (0)