mirror of
https://github.com/nextcloud/server.git
synced 2026-02-20 00:12:30 -05:00
fix: Fix truncation on public shares
Signed-off-by: Christopher Ng <chrng8@gmail.com>
This commit is contained in:
parent
8eb3a6ec83
commit
902b8983a3
2 changed files with 26 additions and 11 deletions
|
|
@ -219,6 +219,17 @@
|
|||
flex: 1 1 100%;
|
||||
}
|
||||
|
||||
.header-info {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.header-title {
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
|
||||
.header-shared-by {
|
||||
color: var(--color-primary-element-text);
|
||||
position: relative;
|
||||
|
|
|
|||
|
|
@ -39,18 +39,22 @@ p($theme->getTitle());
|
|||
<header id="header">
|
||||
<div class="header-left">
|
||||
<div class="logo logo-icon svg"></div>
|
||||
<span id="nextcloud" class="header-appname">
|
||||
<?php if (isset($template) && $template->getHeaderTitle() !== '') { ?>
|
||||
<?php p($template->getHeaderTitle()); ?>
|
||||
<?php } else { ?>
|
||||
<?php p($theme->getName()); ?>
|
||||
<?php } ?>
|
||||
</span>
|
||||
<?php if (isset($template) && $template->getHeaderDetails() !== '') { ?>
|
||||
<div class="header-shared-by">
|
||||
<?php p($template->getHeaderDetails()); ?>
|
||||
<div id="nextcloud" class="header-appname">
|
||||
<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">
|
||||
|
|
|
|||
Loading…
Reference in a new issue