Get username hints implemented in brutstrap

Other brutalist themes could be enhanced to add this.
This commit is contained in:
Jason McBrayer 2019-02-05 10:21:53 -05:00
parent 05f2700ddc
commit 3293ef5ebf
2 changed files with 15 additions and 8 deletions

View File

@ -236,6 +236,15 @@ img.emoji
text-align: left;
}
#username_autocomplete div.tooltip::after {
content: attr(data-tooltip);
font-size: 0.6em;
margin-left: 1em;
margin-right: 1em;
border: 1pt solid #444;
background-color: #FFF;
padding: 0.2em;
}
/* Remaining brutaldon-specific tweaks */
@ -255,6 +264,10 @@ input#id_spoiler_text
width: 100%;
}
.media-content
{
margin-bottom: 1em;
}
.reblog-icon {
position: relative;

View File

@ -1,8 +1,2 @@
<div id="username_autocomplete">
{% if not preferences.theme.is_brutalist %}
<div class="tooltip is-tooltip-active is-tooltip-multiline is-tooltip-bottom"
data-tooltip="{{ users }}"></div>
{% else %}
{% endif %}
</div>
<div class="tooltip is-tooltip-active is-tooltip-multiline is-tooltip-bottom"
data-tooltip="{{ users }}"></div>