diff options
Diffstat (limited to 'templates')
-rw-r--r-- | templates/emoji.tmpl | 8 | ||||
-rw-r--r-- | templates/nav.tmpl | 4 |
2 files changed, 7 insertions, 5 deletions
diff --git a/templates/emoji.tmpl b/templates/emoji.tmpl index 7359d81..551d6f6 100644 --- a/templates/emoji.tmpl +++ b/templates/emoji.tmpl @@ -4,9 +4,11 @@ <div class="emoji-list-container"> {{range .Emojis}} - <div class="emoji-item"> - <img class="emoji" src="{{.URL}}" alt="{{.ShortCode}}" height="32" /> - <div class="emoji-shortcode">:{{.ShortCode}}:</div> + <div class="emoji-item-container"> + <div class="emoji-item"> + <img class="emoji" src="{{.URL}}" alt="{{.ShortCode}}" height="32" /> + <span class="emoji-shortcode">:{{.ShortCode}}:</span> + </div> </div> {{end}} </div> diff --git a/templates/nav.tmpl b/templates/nav.tmpl index d98410f..293d210 100644 --- a/templates/nav.tmpl +++ b/templates/nav.tmpl @@ -7,13 +7,13 @@ </a> </div> <div class="user-info-details-container"> - <div> + <div class="user-info-details-name"> <span class="status-dname"> {{EmojiFilter .User.DisplayName .User.Emojis}} </span> <a class="nav-link" href="/user/{{.User.ID}}"> <span class="status-uname"> @{{.User.Acct}} </span> </a> </div> - <div> + <div class="user-info-details-nav"> <a class="nav-link" href="/timeline/home">home</a> <a class="nav-link" href="/timeline/direct">direct</a> <a class="nav-link" href="/timeline/local">local</a> |