forked from MapComplete/MapComplete
		
	Remove margin from theme buttons for centering
This commit is contained in:
		
							parent
							
								
									06e978ff49
								
							
						
					
					
						commit
						4a19be48b2
					
				
					 3 changed files with 9 additions and 1 deletions
				
			
		|  | @ -2440,6 +2440,10 @@ button, | |||
|   color: var(--low-interaction-foreground); | ||||
| } | ||||
| 
 | ||||
| .theme-button { | ||||
|   margin: 0 !important; | ||||
| } | ||||
| 
 | ||||
| .button-shadow { | ||||
|   box-shadow: 0 5px 10px #88888888; | ||||
| } | ||||
|  |  | |||
|  | @ -85,7 +85,7 @@ | |||
| </script> | ||||
| 
 | ||||
| {#if theme.id !== personal.id || $unlockedPersonal} | ||||
|   <a class={"button w-full text-ellipsis"} href={$href}> | ||||
|   <a class={"button theme-button w-full text-ellipsis"} href={$href}> | ||||
|     <img src={theme.icon} class="m-1 mr-2 block h-11 w-11 sm:m-2 sm:mr-4" alt="" /> | ||||
|     <span class="flex flex-col overflow-hidden text-ellipsis"> | ||||
|       <Tr t={title} /> | ||||
|  |  | |||
|  | @ -204,6 +204,10 @@ button, | |||
|   color: var(--low-interaction-foreground); | ||||
| } | ||||
| 
 | ||||
| .theme-button { | ||||
|   margin: 0 !important; | ||||
| } | ||||
| 
 | ||||
| .button-shadow { | ||||
|   box-shadow: 0 5px 10px #88888888; | ||||
| } | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue