mirror of
https://github.com/nextcloud/server.git
synced 2026-04-15 22:11:17 -04:00
fix: Fix truncation on public shares
Signed-off-by: Christopher Ng <chrng8@gmail.com>
This commit is contained in:
parent
9476b0df79
commit
9546f4cc8a
2 changed files with 25 additions and 10 deletions
|
|
@ -230,6 +230,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;
|
||||
|
|
|
|||
|
|
@ -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">
|
||||
|
|
|
|||
Loading…
Reference in a new issue