Skip to content

Commit

Permalink
Use position: relative for img.thumb::before
Browse files Browse the repository at this point in the history
img.thumb::before was using position: absolute which caused it to have a size of 0x0 somehow.
  • Loading branch information
PQCraft authored and cxong committed May 20, 2023
1 parent f57c28e commit 8aa36e1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions static/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ pre { margin: 0 0 1em 1em; overflow: auto; }
}
/* Fallback image style */
img.thumb::before {
position: absolute;
position: relative;
top: 0;
left: 0;
bottom: 0;
Expand Down Expand Up @@ -359,4 +359,4 @@ dd + dt { margin-top: 1em; }

.game-spacer {
margin: 10px;
}
}

0 comments on commit 8aa36e1

Please sign in to comment.