diff --git a/copyparty/httpcli.py b/copyparty/httpcli.py
index 74540e7c..0e6a95ea 100644
--- a/copyparty/httpcli.py
+++ b/copyparty/httpcli.py
@@ -7233,12 +7233,12 @@ class HttpCli(object):
margin = "DIR"
elif add_dk:
zs = absreal(fspath)
- margin = 'zip' % (
+ margin = 'zip' % (
quotep(href),
self.gen_fk(2, self.args.dk_salt, zs, 0, 0)[:add_dk],
)
else:
- margin = 'zip' % (
+ margin = 'zip' % (
quotep(href),
)
elif fn in hist:
diff --git a/copyparty/web/browser.css b/copyparty/web/browser.css
index 2ecc0190..7b62b000 100644
--- a/copyparty/web/browser.css
+++ b/copyparty/web/browser.css
@@ -750,6 +750,13 @@ a:hover {
#files tbody tr:hover td+td {
background: color-mix(var(--bg-max) 30%, transparent);
}
+a.dir {
+ color: var(--a);
+}
+tr:has(a.dir) td:nth-child(2) a::before {
+ content: "📁";
+ margin: 0 .1em 0 -.2em;
+}
#files thead th {
padding: .3em;
background: var(--bg);