Add helper div to maintain bg color on filename hover
Without it, gaps are visible between the lines of text.
This commit is contained in:
parent
1fe3b99876
commit
824430dfa8
2 changed files with 6 additions and 4 deletions
|
@ -203,14 +203,14 @@ is hovered over.
|
||||||
|
|
||||||
word-break:break-word;
|
word-break:break-word;
|
||||||
}
|
}
|
||||||
.photo_card_grid_filename a
|
|
||||||
{
|
|
||||||
background-color: inherit;
|
|
||||||
}
|
|
||||||
.photo_card_grid_filename:hover
|
.photo_card_grid_filename:hover
|
||||||
{
|
{
|
||||||
overflow: visible;
|
overflow: visible;
|
||||||
}
|
}
|
||||||
|
.photo_card_grid_filename_hoverhelper:hover
|
||||||
|
{
|
||||||
|
background-color: inherit;
|
||||||
|
}
|
||||||
.photo_card_grid_file_metadata
|
.photo_card_grid_file_metadata
|
||||||
{
|
{
|
||||||
display: flex;
|
display: flex;
|
||||||
|
|
|
@ -42,8 +42,10 @@
|
||||||
</div>
|
</div>
|
||||||
<div class="photo_card_grid_info">
|
<div class="photo_card_grid_info">
|
||||||
<div class="photo_card_grid_filename">
|
<div class="photo_card_grid_filename">
|
||||||
|
<div class="photo_card_grid_filename_hoverhelper">
|
||||||
<a target="_blank" href="/photo/{{photo.id}}">{{photo.basename}}</a>
|
<a target="_blank" href="/photo/{{photo.id}}">{{photo.basename}}</a>
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
<div class="photo_card_grid_file_metadata">
|
<div class="photo_card_grid_file_metadata">
|
||||||
{% set tags = photo.tags() %}
|
{% set tags = photo.tags() %}
|
||||||
{% set tag_names = [] %}
|
{% set tag_names = [] %}
|
||||||
|
|
Loading…
Reference in a new issue