aboutsummaryrefslogtreecommitdiffstats
path: root/core/templates
diff options
context:
space:
mode:
authorChristopher Ng <chrng8@gmail.com>2024-04-18 10:42:21 -0700
committerChristopher Ng <chrng8@gmail.com>2024-04-22 18:30:51 -0700
commit9546f4cc8a3ca6fa9f227864af06ce7e6463b030 (patch)
tree7bd57a552e41b822a5f77c43f6a4edffea1d31f8 /core/templates
parent9476b0df79aae557b042f26a4e53f0f85352129e (diff)
downloadnextcloud-server-9546f4cc8a3ca6fa9f227864af06ce7e6463b030.tar.gz
nextcloud-server-9546f4cc8a3ca6fa9f227864af06ce7e6463b030.zip
fix: Fix truncation on public shares
Signed-off-by: Christopher Ng <chrng8@gmail.com>
Diffstat (limited to 'core/templates')
-rw-r--r--core/templates/layout.public.php24
1 files changed, 14 insertions, 10 deletions
diff --git a/core/templates/layout.public.php b/core/templates/layout.public.php
index 0ee81d69270..19ec4244b9f 100644
--- a/core/templates/layout.public.php
+++ b/core/templates/layout.public.php
@@ -48,17 +48,21 @@ p($theme->getTitle());
<div class="logo logo-icon"></div>
<?php endif; ?>
- <?php if (isset($template) && $template->getHeaderTitle() !== '') { ?>
- <?php p($template->getHeaderTitle()); ?>
- <?php } else { ?>
- <?php p($theme->getName()); ?>
- <?php } ?>
- </div>
- <?php if (isset($template) && $template->getHeaderDetails() !== '') { ?>
- <div class="header-shared-by">
- <?php p($template->getHeaderDetails()); ?>
+ <div class="header-info">
+ <span class="header-title">
+ <?php if (isset($template) && $template->getHeaderTitle() !== '') { ?>
+ <?php p($template->getHeaderTitle()); ?>
+ <?php } else { ?>
+ <?php p($theme->getName()); ?>
+ <?php } ?>
+ </span>
+ <?php if (isset($template) && $template->getHeaderDetails() !== '') { ?>
+ <span class="header-shared-by">
+ <?php p($template->getHeaderDetails()); ?>
+ </span>
+ <?php } ?>
</div>
- <?php } ?>
+ </div>
</div>
<div class="header-right">