diff options
author | r <r@freesoftwareextremist.com> | 2020-10-19 05:20:57 +0000 |
---|---|---|
committer | r <r@freesoftwareextremist.com> | 2020-10-19 05:20:57 +0000 |
commit | d7e0db7498627d0eb0effc01e7a8fef45fb53f32 (patch) | |
tree | 70fa9270567bf54a55b7cb24bdeffa2a44985bb5 /templates | |
parent | 7d989d56e572606e6f4051eed6e8fd43b3d63ec5 (diff) | |
download | bloat-d7e0db7498627d0eb0effc01e7a8fef45fb53f32.tar.gz bloat-d7e0db7498627d0eb0effc01e7a8fef45fb53f32.zip |
Fix CSS issues
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> |