more cases of not using px explicitly not working, fixed for icon overlays on search/file view
This commit is contained in:
@@ -200,7 +200,7 @@
|
|||||||
<div style="position:relative; width:100%">
|
<div style="position:relative; width:100%">
|
||||||
<a href="{{obj.in_dir.in_path.path_prefix}}/{{obj.in_dir.rel_path}}/{{obj.name}}"><img class="thumb" height="{{size}}" src="data:image/jpeg;base64,{{obj.file_details.thumbnail}}"></img></a>
|
<a href="{{obj.in_dir.in_path.path_prefix}}/{{obj.in_dir.rel_path}}/{{obj.name}}"><img class="thumb" height="{{size}}" src="data:image/jpeg;base64,{{obj.file_details.thumbnail}}"></img></a>
|
||||||
{% if search_term is defined %}
|
{% if search_term is defined %}
|
||||||
<div style="position:absolute; bottom: 2; left: 2;">
|
<div style="position:absolute; bottom: -2px; left: 2px;">
|
||||||
<i style="font-size:16px;background-color:black;color:white" class="fas {{LocationIcon(obj)}}"></i>
|
<i style="font-size:16px;background-color:black;color:white" class="fas {{LocationIcon(obj)}}"></i>
|
||||||
</div>
|
</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
@@ -208,11 +208,11 @@
|
|||||||
{% elif obj.type.name == "Video" %}
|
{% elif obj.type.name == "Video" %}
|
||||||
<div style="position:relative; width:100%">
|
<div style="position:relative; width:100%">
|
||||||
<a href="{{obj.in_dir.in_path.path_prefix}}/{{obj.in_dir.rel_path}}/{{obj.name}}"><img class="thumb" style="display:block" height="{{size}}" src="data:image/jpeg;base64,{{obj.file_details.thumbnail}}"></img></a>
|
<a href="{{obj.in_dir.in_path.path_prefix}}/{{obj.in_dir.rel_path}}/{{obj.name}}"><img class="thumb" style="display:block" height="{{size}}" src="data:image/jpeg;base64,{{obj.file_details.thumbnail}}"></img></a>
|
||||||
<div style="position:absolute; top: 2; left: 2;">
|
<div style="position:absolute; top: 0px; left: 2px;">
|
||||||
<i style="font-size:32px;background-color:black;color:white" class="fas fa-film"></i>
|
<i style="font-size:32px;background-color:black;color:white" class="fas fa-film"></i>
|
||||||
</div>
|
</div>
|
||||||
{% if search_term is defined %}
|
{% if search_term is defined %}
|
||||||
<div style="position:absolute; bottom: 2; left: 2;">
|
<div style="position:absolute; bottom: -2px; left: 2px;">
|
||||||
<i style="font-size:16px;background-color:black;color:white" class="fas {{LocationIcon(obj)}}"></i>
|
<i style="font-size:16px;background-color:black;color:white" class="fas {{LocationIcon(obj)}}"></i>
|
||||||
</div>
|
</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|||||||
Reference in New Issue
Block a user