Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /* The existing CSS rule (that should be replaced) looks like this. It should be on line 270 of default.css */
- span.thumb {
- height: 180px;
- width: 180px;
- display: inline-block;
- float: left;
- text-align: center;
- vertical-align: middle;
- }
- /* Here is a fixed CSS rule for span.thumb. Delete the old one and replace it with this. */
- span.thumb {
- padding: 0px 10px 10px 0px;
- display: inline-block;
- content-justify: center;
- float: left;
- height: auto;
- width: auto;
- }
- /* You can change "width: auto" -> "width: 256px" for it to use a grid layout.
- However, this looks very spaced out because we have to account for images up to 256x256,
- but most are around 128x256. This means we have to waste a lot of space on whitespace. */
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement