aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAli MJ Al-Nasrawy <alimjalnasrawy@gmail.com>2021-04-09 11:52:03 +0000
committerAli MJ Al-Nasrawy <alimjalnasrawy@gmail.com>2021-04-09 11:52:21 +0000
commit32a88fe41457acc8f1525a951dbe40d39ffe8ce3 (patch)
treea622234c197155cd4c7c3d2457140c65073e9c13 /src
parentFix breadcrumbs for RTL languages (diff)
downloadminiserve-32a88fe41457acc8f1525a951dbe40d39ffe8ce3.tar.gz
miniserve-32a88fe41457acc8f1525a951dbe40d39ffe8ce3.zip
Fix breadcrumbs mess on mobile
On mobile devices, 'display: block' is set for '.directory' class. While this neccessary to make the whole row for directories entry clickable, it distorts the links in breadcrumbs.
Diffstat (limited to 'src')
-rw-r--r--src/renderer.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/renderer.rs b/src/renderer.rs
index b193c6f..c99ea67 100644
--- a/src/renderer.rs
+++ b/src/renderer.rs
@@ -86,7 +86,7 @@ pub fn page(
// wrapped in span so the text doesn't shift slightly when it turns into a link
span { bdi { (el.name) } }
} @else {
- a.directory href=(parametrized_link(&el.link, sort_method, sort_order)) {
+ a href=(parametrized_link(&el.link, sort_method, sort_order)) {
bdi { (el.name) }
}
}