Skip to content

Commit

Permalink
fix bad styling for thumbs view in extra networks #10639
Browse files Browse the repository at this point in the history
  • Loading branch information
AUTOMATIC1111 committed May 23, 2023
1 parent 1f31829 commit 3f50b7d
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion style.css
Original file line number Diff line number Diff line change
Expand Up @@ -756,13 +756,22 @@ footer {
.extra-network-cards .card .metadata-button, .extra-network-thumbs .card .metadata-button{
display: none;
position: absolute;
right: 0;
color: white;
right: 0;
}
.extra-network-cards .card .metadata-button {
text-shadow: 2px 2px 3px black;
padding: 0.25em;
font-size: 22pt;
width: 1.5em;
}
.extra-network-thumbs .card .metadata-button {
text-shadow: 1px 1px 2px black;
padding: 0;
font-size: 16pt;
width: 1em;
top: -0.25em;
}
.extra-network-cards .card:hover .metadata-button, .extra-network-thumbs .card:hover .metadata-button{
display: inline-block;
}
Expand All @@ -787,6 +796,13 @@ footer {
position: relative;
}

.extra-network-thumbs .card .preview{
position: absolute;
object-fit: cover;
width: 100%;
height:100%;
}

.extra-network-thumbs .card:hover .additional a {
display: inline-block;
}
Expand Down

0 comments on commit 3f50b7d

Please sign in to comment.