From 5232d09af520e12bc421cf19ae5d231a7e36cd4d Mon Sep 17 00:00:00 2001 From: ArtfulAzeria <146041757+ArtfulAzeria@users.noreply.github.com> Date: Fri, 29 Sep 2023 20:17:48 +0200 Subject: [PATCH] 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> --- quartz/components/TagList.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/quartz/components/TagList.tsx b/quartz/components/TagList.tsx index a4dfac70..36c84184 100644 --- a/quartz/components/TagList.tsx +++ b/quartz/components/TagList.tsx @@ -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;