forked from MapComplete/MapComplete
		
	Remove <br> above open-welcom-message
Use Tailwind Class styles instead.
This commit is contained in:
		
							parent
							
								
									3b385c56e3
								
							
						
					
					
						commit
						d3b39fbe54
					
				
					 3 changed files with 5 additions and 8 deletions
				
			
		| 
						 | 
				
			
			@ -260,7 +260,7 @@ export class InitUiElements {
 | 
			
		|||
 | 
			
		||||
        const fullOptions = new FullWelcomePaneWithTabs();
 | 
			
		||||
 | 
			
		||||
        const help = Svg.help_svg().SetClass("open-welcome-button");
 | 
			
		||||
        const help = Svg.help_svg().SetClass("open-welcome-button block");
 | 
			
		||||
        const close = Svg.close_svg().SetClass("close-welcome-button");
 | 
			
		||||
        const checkbox = new CheckBox(
 | 
			
		||||
            new Combine([
 | 
			
		||||
| 
						 | 
				
			
			@ -295,8 +295,7 @@ export class InitUiElements {
 | 
			
		|||
        }
 | 
			
		||||
 | 
			
		||||
        Svg.help_svg()
 | 
			
		||||
            .SetClass("open-welcome-button")
 | 
			
		||||
            .SetClass("shadow")
 | 
			
		||||
            .SetClass("open-welcome-button block shadow")
 | 
			
		||||
            .onClick(() => {
 | 
			
		||||
                State.state.fullScreenMessage.setData({content: fullOptions2, hashText: "welcome"})
 | 
			
		||||
            }).AttachTo("help-button-mobile");
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -342,7 +342,6 @@ a {
 | 
			
		|||
}
 | 
			
		||||
 | 
			
		||||
.open-welcome-button {
 | 
			
		||||
    display: inline-block;
 | 
			
		||||
    box-sizing: border-box;
 | 
			
		||||
    background: var(--subtle-detail-color);
 | 
			
		||||
    color: var(--foreground-color);
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -54,7 +54,6 @@
 | 
			
		|||
        <div id="searchbox" class="shadow"></div>
 | 
			
		||||
    </div>
 | 
			
		||||
    <div id="messagesbox"></div>
 | 
			
		||||
    <br/>
 | 
			
		||||
    <div id="help-button-mobile"></div>
 | 
			
		||||
</div>
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue