forked from MapComplete/MapComplete
		
	Styling: theme view buttons
This commit is contained in:
		
							parent
							
								
									c9697b7ffb
								
							
						
					
					
						commit
						652d617583
					
				
					 8 changed files with 160 additions and 80 deletions
				
			
		|  | @ -123,7 +123,7 @@ export default class Hotkeys { | |||
|             new Table( | ||||
|                 [t.key, t.action], | ||||
|                 byKey.map(([key, doc]) => { | ||||
|                     return [new FixedUiElement(key).SetClass("code"), doc] | ||||
|                     return [new FixedUiElement(key).SetClass("literal-code"), doc] | ||||
|                 }) | ||||
|             ), | ||||
|         ]) | ||||
|  |  | |||
|  | @ -8,6 +8,6 @@ | |||
| </script> | ||||
| 
 | ||||
| 
 | ||||
| <div on:click={e => dispatch("click", e)} class="subtle-background rounded-full min-w-10 w-fit h-10 m-0.5 md:m-1 p-1 cursor-pointer"> | ||||
|   <slot class="m-4"></slot> | ||||
| <div on:click={e => dispatch("click", e)} class="subtle-background rounded-full h-fit w-fit m-0.5 md:m-1 p-0.5 sm:p-1 cursor-pointer"> | ||||
|   <slot/> | ||||
| </div> | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue