diff --git a/assets/css/custom.css b/assets/css/custom.css
index c5e7b45..3c1d59f 100644
--- a/assets/css/custom.css
+++ b/assets/css/custom.css
@@ -147,6 +147,10 @@ body:not(.home) .menu { display: none; }
color: var(--color-text-primary);
white-space: nowrap;
}
+/* name + tags share the grid's last column but need their own row to put
+ the tag flush right without wrapping onto a second line — two grid items
+ left in the same cell just stack instead of sitting side by side */
+.tui__row3 { display: flex; justify-content: space-between; align-items: baseline; gap: 1ch; min-width: 0; }
.tui__perm,
.tui__date,
.tui__tags { color: var(--color-text-muted); }
diff --git a/layouts/portfolio/list.html b/layouts/portfolio/list.html
index b296de8..50141e8 100644
--- a/layouts/portfolio/list.html
+++ b/layouts/portfolio/list.html
@@ -16,7 +16,7 @@
data-img="{{ with $p.Params.thumbnail }}{{ . | relURL }}{{ end }}"
data-name="{{ $p.Slug }}"
{{ if eq $i 0 }}class="is-selected"{{ end }}>
- drwxr-xr-x{{ $p.Date.Format "2006" }}{{ $p.Slug }}/{{ with $p.Params.categories }} {{ range . }}[{{ . }}]{{ end }}{{ end }}
+ drwxr-xr-x{{ $p.Date.Format "2006" }}{{ $p.Slug }}/{{ with $p.Params.categories }}{{ range . }}[{{ . }}]{{ end }}{{ end }}
{{ end }}