mirror of
https://github.com/jlengrand/leaflet-geosearch.git
synced 2026-03-10 08:31:26 +00:00
optimize for mobile
This commit is contained in:
@@ -106,6 +106,15 @@
|
||||
text-indent: 8px;
|
||||
}
|
||||
|
||||
.leaflet-touch .leaflet-geosearch-bar form {
|
||||
border: 2px solid rgba(0,0,0,0.2);
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
.leaflet-touch .leaflet-geosearch-bar form input {
|
||||
height: 30px;
|
||||
}
|
||||
|
||||
.leaflet-control-geosearch .results {
|
||||
background: #fff;
|
||||
}
|
||||
@@ -160,6 +169,7 @@
|
||||
display: block;
|
||||
height: auto;
|
||||
width: 400px;
|
||||
max-width: calc(100% - 120px);
|
||||
margin: 10px auto 0;
|
||||
cursor: auto;
|
||||
z-index: 1000;
|
||||
@@ -205,6 +215,10 @@
|
||||
border-radius: 0 4px 4px 0;
|
||||
}
|
||||
|
||||
.leaflet-touch .leaflet-control-geosearch a.reset {
|
||||
line-height: 30px;
|
||||
}
|
||||
|
||||
.leaflet-control-geosearch a.reset:hover {
|
||||
background: #f5f5f5;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user