feat: Better and more responsive tag behavior (#515)
* fix(explorer): default sortFn implementation (#511) * fix: use `numeric` + `base` for localeCompare * docs(explorer): update default sortFn * fix: better and more responsive tag behavior * tags css moved to TagList.tsx * used npm run format * merged tag declarations --------- Co-authored-by: Ben Schlegel <31989404+benschlegel@users.noreply.github.com>
This commit is contained in:
		
							parent
							
								
									0138085c16
								
							
						
					
					
						commit
						5232d09af5
					
				
					 1 changed files with 2 additions and 1 deletions
				
			
		| 
						 | 
					@ -28,7 +28,8 @@ function TagList({ fileData }: QuartzComponentProps) {
 | 
				
			||||||
TagList.css = `
 | 
					TagList.css = `
 | 
				
			||||||
.tags {
 | 
					.tags {
 | 
				
			||||||
  list-style: none;
 | 
					  list-style: none;
 | 
				
			||||||
  display: flex;
 | 
					  display:flex;
 | 
				
			||||||
 | 
					  flex-wrap: wrap;
 | 
				
			||||||
  padding-left: 0;
 | 
					  padding-left: 0;
 | 
				
			||||||
  gap: 0.4rem;
 | 
					  gap: 0.4rem;
 | 
				
			||||||
  margin: 1rem 0;
 | 
					  margin: 1rem 0;
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue