Skip to content
Permalink
Browse files

fixes #1112 better management for long username + long gallery name o…

…n small screen
  • Loading branch information
plegall committed Nov 26, 2019
1 parent 58fb64f commit 90e4a63ea13fd0a355e6c5a0ee61ac93f08e2324
Showing with 14 additions and 2 deletions.
  1. +1 −1 admin/themes/default/template/header.tpl
  2. +13 −1 admin/themes/default/theme.css
@@ -57,7 +57,7 @@
<div class="pwgHead-gallery-title">{$GALLERY_TITLE}</div>

<div id="headActions">
<i class="icon-user"></i>{$USERNAME}
<span class="admin-head-username"><i class="icon-user"></i>{$USERNAME}</span>
{*
<a href="{$U_RETURN}" title="{'Visit Gallery'|translate}"><i class="icon-eye"></i><span>{'Visit Gallery'|translate}</span></a>
*}
@@ -320,14 +320,18 @@ BODY {
text-align: left;
font-size: 18px;
float:left;
width: 50%;
width: calc(100% - 330px);
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
line-height:50px;
margin: 0 0 0 220px;
}

.admin-head-username {
display: none;
}

#pwgHead A {color:#ccc;}
#pwgHead A:hover {color:#fff}

@@ -1589,6 +1593,14 @@ fieldset#environment legend i[class*="icon-"] {
#headActions a span {
display:inline;
}

#pwgHead .pwgHead-gallery-title {
width: calc(100% - 650px);
}

.admin-head-username {
display: inline;
}
}

.buttonLike, input[type="submit"], input[type="button"], input[type="reset"] {

0 comments on commit 90e4a63

Please sign in to comment.
You can’t perform that action at this time.