default icon for errored images

This commit is contained in:
MathMan05 2025-04-29 15:20:02 -05:00
parent cb4f85df0f
commit ea8d9978a6
3 changed files with 17 additions and 0 deletions

View file

@ -3039,6 +3039,19 @@ fieldset input[type="radio"] {
font-size: 0.2in;
padding: 0 0.1in;
}
img.error {
position: relative;
}
img.error::after {
background: var(--secondary-bg) url("/icons/sad.svg");
background-size: contain;
content: "";
width: 100%;
height: 100%;
position: absolute;
top: 0;
left: 0;
}
.gifBox {
img {
max-width: 196px;