diff options
Diffstat (limited to 'src/main')
-rw-r--r-- | src/main/assets/style.css | 8 | ||||
-rw-r--r-- | src/main/resources/templates/views/partial/usercolumn.html | 5 |
2 files changed, 11 insertions, 2 deletions
diff --git a/src/main/assets/style.css b/src/main/assets/style.css index 87e74ab2..ff64c1f1 100644 --- a/src/main/assets/style.css +++ b/src/main/assets/style.css @@ -205,15 +205,23 @@ pre::-moz-selection { } #global { display: flex; + white-space: nowrap; } #global a { color: var(--dimmed-link-color); padding: 14px; border-bottom: 2px solid transparent; } +#ctitle { + flex: 1; + white-space: nowrap; + overflow: hidden; +} #ctitle a { padding: 2px 20px; border-bottom: 2px solid transparent; + text-overflow: ellipsis; + overflow: hidden; } .l a { border-bottom: 2px solid transparent; diff --git a/src/main/resources/templates/views/partial/usercolumn.html b/src/main/resources/templates/views/partial/usercolumn.html index 1da05e07..06ad647d 100644 --- a/src/main/resources/templates/views/partial/usercolumn.html +++ b/src/main/resources/templates/views/partial/usercolumn.html @@ -52,10 +52,11 @@ {% if visitor is not empty and visitor.uid == user.uid %} <a href="/settings" rel="nofollow"> - <i data-icon="ei-gear" data-size="s"></i> - <span class="desktop">{{ i18n("messages","link.settings") }}</span> + <i data-icon="ei-gear" data-size="s"></i> {% if not visitor.verified %} <span style="color:red;"><i data-icon="ei-exclamation" data-size="s"></i></span> + {% else %} + <span class="desktop">{{ i18n("messages","link.settings") }}</span> {% endif %} </a> {% endif %} |