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:
ArtfulAzeria 2023-09-29 20:17:48 +02:00 committed by GitHub
parent 0138085c16
commit 5232d09af5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -28,7 +28,8 @@ function TagList({ fileData }: QuartzComponentProps) {
TagList.css = `
.tags {
list-style: none;
display: flex;
display:flex;
flex-wrap: wrap;
padding-left: 0;
gap: 0.4rem;
margin: 1rem 0;