Put toolbox hide logic into album_card_tools, not remove button.

This commit is contained in:
voussoir 2021-01-19 10:37:11 -08:00
parent 95b95bc7be
commit b96f0cfc96
No known key found for this signature in database
GPG key ID: 5F7554F8C26DACCB
2 changed files with 6 additions and 12 deletions

View file

@ -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;
} }
/* ########################################################################## */ /* ########################################################################## */

View file

@ -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 %}