]> git.openstreetmap.org Git - rails.git/blobdiff - app/assets/stylesheets/leaflet-all.css
Don't zoom map when enabling location filter
[rails.git] / app / assets / stylesheets / leaflet-all.css
index 153c5684f3f42bd4ca4ed7b73bd3e2a6df8ccf99..5270dd6b8357739e7877222fda36017e68aa151d 100644 (file)
@@ -4,3 +4,20 @@
  *= require leaflet.pan
  *= require leaflet.zoom
  */
+
+/* Override to better match the pan/zoom control. */
+.leaflet-control-layers {
+  box-shadow: 0px 0px 3px #666;
+  background: #fff;
+  border-radius: 3px;
+}
+
+/* Override some conflicting styles.
+   https://github.com/openstreetmap/openstreetmap-website/pull/121#issuecomment-10206946 */
+.leaflet-popup-content img.user_thumbnail {
+  max-width: 50px !important;
+}
+
+.user_popup p {
+  margin: 0px 2px 0px 55px !important;
+}