From 052fb4af1ff24f6b7551129444682f42565fe14e Mon Sep 17 00:00:00 2001 From: Sergio Vera Date: Tue, 13 Feb 2024 19:01:09 +0100 Subject: [PATCH] Fixed document detail layout to avoid div block buttons --- .../webserver/embedded/views/document.html | 33 ++++++++++--------- 1 file changed, 17 insertions(+), 16 deletions(-) diff --git a/internal/webserver/embedded/views/document.html b/internal/webserver/embedded/views/document.html index 828a352..d3f943f 100644 --- a/internal/webserver/embedded/views/document.html +++ b/internal/webserver/embedded/views/document.html @@ -6,22 +6,23 @@
-
- {{t $lang "\"%s\" cover" .Document.Title}} - -
-

{{.Document.Title}}

-

- {{if .Document.Authors}} - {{join .Document.Authors ", "}} - {{else}} - {{t $lang "Unknown author"}} - {{end}} -

+
+
+ {{t $lang "\"%s\" cover" .Document.Title}} + +
+

{{.Document.Title}}

+

+ {{if .Document.Authors}} + {{join .Document.Authors ", "}} + {{else}} + {{t $lang "Unknown author"}} + {{end}} +

+
-