forked from MapComplete/MapComplete
		
	Index: Center index content
This is only for the lg-Screen-size. It makes the content use more space and be more centered in the screen. Wanted to use some Tailwind-Center-Class but didn't manage to. This works as well.
This commit is contained in:
		
							parent
							
								
									dc9b2d382b
								
							
						
					
					
						commit
						0443de44b6
					
				
					 2 changed files with 3 additions and 1 deletions
				
			
		| 
						 | 
					@ -306,6 +306,8 @@ a {
 | 
				
			||||||
    z-index: 5000;
 | 
					    z-index: 5000;
 | 
				
			||||||
    transition: all 500ms linear;
 | 
					    transition: all 500ms linear;
 | 
				
			||||||
    pointer-events: none;
 | 
					    pointer-events: none;
 | 
				
			||||||
 | 
					    left: 0;
 | 
				
			||||||
 | 
					    right: 0;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
.welcomeMessage {
 | 
					.welcomeMessage {
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
							
								
								
									
										2
									
								
								index.ts
									
										
									
									
									
								
							
							
						
						
									
										2
									
								
								index.ts
									
										
									
									
									
								
							| 
						 | 
					@ -120,7 +120,7 @@ if (layoutFromBase64.startsWith("wiki:")) {
 | 
				
			||||||
    document.getElementById("messagesboxmobile").remove();
 | 
					    document.getElementById("messagesboxmobile").remove();
 | 
				
			||||||
    new MoreScreen(true)
 | 
					    new MoreScreen(true)
 | 
				
			||||||
        .SetStyle("pointer-events: all;")
 | 
					        .SetStyle("pointer-events: all;")
 | 
				
			||||||
        .AddClass("block m-5")
 | 
					        .AddClass("block m-5 lg:w-3/4 lg:ml-40")
 | 
				
			||||||
        .AttachTo("topleft-tools");
 | 
					        .AttachTo("topleft-tools");
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
window.addEventListener('contextmenu', function (e) { // Not compatible with IE < 9
 | 
					window.addEventListener('contextmenu', function (e) { // Not compatible with IE < 9
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue