forked from MapComplete/MapComplete
		
	Fix leaflet: areas wouldn't show up anymore
This commit is contained in:
		
							parent
							
								
									5192ece1ed
								
							
						
					
					
						commit
						49f78d5604
					
				
					 1 changed files with 7 additions and 0 deletions
				
			
		| 
						 | 
					@ -88,6 +88,12 @@ html, body {
 | 
				
			||||||
    color: var(--foreground-color);
 | 
					    color: var(--foreground-color);
 | 
				
			||||||
    font-family: 'Helvetica Neue', Arial, sans-serif;
 | 
					    font-family: 'Helvetica Neue', Arial, sans-serif;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					.leaflet-overlay-pane .leaflet-zoom-animated {
 | 
				
			||||||
 | 
					    /* Another workaround to keep leaflet working */
 | 
				
			||||||
 | 
					    width: initial !important;
 | 
				
			||||||
 | 
					    height: initial !important;
 | 
				
			||||||
 | 
					    box-sizing: initial !important;
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
svg, img {
 | 
					svg, img {
 | 
				
			||||||
    box-sizing: content-box;
 | 
					    box-sizing: content-box;
 | 
				
			||||||
| 
						 | 
					@ -95,6 +101,7 @@ svg, img {
 | 
				
			||||||
    height: 100%;
 | 
					    height: 100%;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
a {
 | 
					a {
 | 
				
			||||||
    color: var(--foreground-color)
 | 
					    color: var(--foreground-color)
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue