mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-22 16:19:48 +02:00
fix flash style
This commit is contained in:
-11
@@ -1891,17 +1891,6 @@ img.wiki-image {
|
||||
border-bottom: 0;
|
||||
}
|
||||
|
||||
.modal-flash .content {
|
||||
box-shadow: none;
|
||||
border-radius: 4px;
|
||||
background: #111;
|
||||
color: #eee;
|
||||
}
|
||||
|
||||
.modal-flash .close-modal {
|
||||
display:none;
|
||||
}
|
||||
|
||||
.loading-modal {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
@@ -202,6 +202,7 @@ en:
|
||||
zoom:
|
||||
in: Zoom In
|
||||
out: Zoom Out
|
||||
cannot_zoom: "Cannot zoom out further in current mode."
|
||||
gpx:
|
||||
local_layer: "Local GPX file"
|
||||
drag_drop: "Drag and drop a .gpx file on the page"
|
||||
|
||||
@@ -249,6 +249,7 @@ locale.en = {
|
||||
"in": "Zoom In",
|
||||
"out": "Zoom Out"
|
||||
},
|
||||
"cannot_zoom": "Cannot zoom out further in current mode.",
|
||||
"gpx": {
|
||||
"local_layer": "Local GPX file",
|
||||
"drag_drop": "Drag and drop a .gpx file on the page"
|
||||
|
||||
@@ -127,7 +127,7 @@ iD.Map = function(context) {
|
||||
if (Math.log(d3.event.scale / Math.LN2 - 8) < minzoom + 1) {
|
||||
iD.ui.flash(context.container())
|
||||
.select('.content')
|
||||
.text('Cannot zoom out further in current mode.');
|
||||
.text(t('cannot_zoom'));
|
||||
return setZoom(16, true);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user