Put toolbox hide logic into album_card_tools, not remove button.
This commit is contained in:
parent
95b95bc7be
commit
b96f0cfc96
2 changed files with 6 additions and 12 deletions
|
@ -63,13 +63,17 @@
|
||||||
}
|
}
|
||||||
.album_card_tools
|
.album_card_tools
|
||||||
{
|
{
|
||||||
|
display: none;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
right: 4px;
|
right: 4px;
|
||||||
bottom: 4px;
|
bottom: 4px;
|
||||||
|
background-color: var(--color_transparency);
|
||||||
|
min-width: max-content;
|
||||||
}
|
}
|
||||||
.album_card_list .album_card_tools
|
.album_card_tools:hover,
|
||||||
|
.album_card:hover .album_card_tools
|
||||||
{
|
{
|
||||||
display: none;
|
display: initial;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* ########################################################################## */
|
/* ########################################################################## */
|
||||||
|
|
|
@ -57,16 +57,6 @@ h2, h3
|
||||||
flex: 1;
|
flex: 1;
|
||||||
min-width: 0;
|
min-width: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.remove_child_button
|
|
||||||
{
|
|
||||||
display: none;
|
|
||||||
}
|
|
||||||
.remove_child_button:hover,
|
|
||||||
.album_card:hover .remove_child_button
|
|
||||||
{
|
|
||||||
display: initial;
|
|
||||||
}
|
|
||||||
</style>
|
</style>
|
||||||
{% endmacro %}
|
{% endmacro %}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue