Add padding to thumbnails
This commit is contained in:
parent
57c05354c2
commit
1c152f6cad
1 changed files with 3 additions and 0 deletions
|
@ -81,10 +81,13 @@ a.pure-button-primary:hover {
|
|||
}
|
||||
|
||||
div.thumbnail {
|
||||
padding: 28.125%;
|
||||
position: relative;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
img.thumbnail {
|
||||
position: absolute;
|
||||
width: 100%;
|
||||
left: 0;
|
||||
top: 0;
|
||||
|
|
Loading…
Reference in a new issue