mirror of
https://github.com/FoggedLens/iD.git
synced 2026-02-12 16:52:50 +00:00
prevent brief flickering of "broken image" on tile loading errors
This commit is contained in:
@@ -4366,6 +4366,11 @@ img.tile {
|
||||
|
||||
opacity: 1;
|
||||
transition: opacity 120ms linear;
|
||||
|
||||
/* prevent brief flickering of "broken image" on tile loading errors, see https://zeldman.com/2012/03/01/replacing-the-9999px-hack-new-image-replacement/ */
|
||||
text-indent: 100%;
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
img.tile-removing {
|
||||
|
||||
Reference in New Issue
Block a user