user tables: add float plus margins to replace whitespace #130

Merged
Aevann merged 1 commits from :fix-tables-username-underlining-hover-space into master 2023-02-21 14:21:46 +00:00
2 changed files with 4 additions and 1 deletions

View File

@ -2360,6 +2360,9 @@ a.bg-light:hover, a.bg-light:focus, button.bg-light:hover, button.bg-light:focus
.float-right {
float: right !important;
}
.float-left {
float: left !important;
}
.overflow-auto {
overflow: auto !important;
}

View File

@ -1,7 +1,7 @@
{%- include 'admin/shadowbanned_tooltip.html' -%}
{% if user %}
<a data-sort-key="{{user.username.lower()}}" style="color:#{{user.name_color}};font-weight:bold" href="/@{{user.username}}">
<div class="profile-pic-20-wrapper mb-2">
<div class="profile-pic-20-wrapper mb-2 mr-1 float-left">
<img loading="lazy" src="{{user.profile_url}}" class="pp20">
{% if user.hat_active(v)[0] -%}
<img class="profile-pic-20-hat hat" loading="lazy" src="{{user.hat_active(v)[0]}}?h=7" data-bs-toggle="tooltip" data-bs-placement="bottom" title="{{user.hat_active(v)[1]}}">