Skip to content

Commit

Permalink
tweek elements css layout
Browse files Browse the repository at this point in the history
  • Loading branch information
Tom-TBT committed Jul 21, 2024
1 parent ce7c80c commit 78b1730
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 8 deletions.
6 changes: 3 additions & 3 deletions omero_tagsearch/static/tagsearch/css/webtagging_search.css
Original file line number Diff line number Diff line change
Expand Up @@ -45,18 +45,18 @@
}

.tagnav-icon {
background-position: 0 0;
background-position: center top;
background-position: center bottom;
height: 16px;
width: 17px;
display: inline-block;
text-decoration: none;
margin: 0 0 3px 0;
margin: 3px 5px 2px 3px;
padding: 0;
}

.tagnav-user .tagnav-icon {
background: url('../image/icon_user.png') no-repeat;
margin: 0 0 0 0;
}

.tagnav-project .tagnav-icon {
Expand Down
12 changes: 7 additions & 5 deletions omero_tagsearch/templates/omero_tagsearch/tagnav.html
Original file line number Diff line number Diff line change
Expand Up @@ -241,11 +241,13 @@ <h2>{% trans "Tag Search" %}</h2>
{{ tagnav_form.non_field_errors }}

{% if user_name %}
<div id="id_userName" class="tagnav-user">
<span><input type="checkbox" id="user_filter_on"> Filter tags for</span>
&nbsp;<span>{{ user_name }}</span>
<div class="tagnav-icon">&nbsp;</div>
</div>
<div id="id_userName" class="tagnav-user">
<span>
<input type="checkbox" id="user_filter_on"> Filter tags for {{ user_name }}
&nbsp;<span class="tagnav-icon"></span>
</span>

</div>
{% endif %}

<div class="fieldWrapper">
Expand Down

0 comments on commit 78b1730

Please sign in to comment.