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 e4e54f52d5
commit 22b559b31b

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;