fix: Fix truncation on public shares

Signed-off-by: Christopher Ng <chrng8@gmail.com>
pull/44923/head
Christopher Ng 3 weeks ago
parent 9476b0df79
commit 9546f4cc8a

@ -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…
Cancel
Save