projects
/
ryf-theme.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d679ca4
)
make imgs appear less warped on product listsings
author
Andrew Engelbrecht
<andrew@fsf.org>
Mon, 29 Jul 2019 17:00:48 +0000
(13:00 -0400)
committer
Andrew Engelbrecht
<andrew@fsf.org>
Mon, 29 Jul 2019 17:00:48 +0000
(13:00 -0400)
further edits may be required for images that are taller than they are
wide
css/style.css
patch
|
blob
|
blame
|
history
diff --git
a/css/style.css
b/css/style.css
index 5dbe19d84aea0efb0946e52279c91e79bb58d59d..43d39767972ae3516857e3fc0905acf7fe52b742 100644
(file)
--- a/
css/style.css
+++ b/
css/style.css
@@
-121,6
+121,7
@@
a { transition: 0.3s; }
.ryf-list .field--type-image {
width: 100%;
+ height: 150px;
background: #fff;
border-radius: 10px;
display: flex;
@@
-129,7
+130,6
@@
a { transition: 0.3s; }
.ryf-list img {
max-width: 150px;
- min-height: 150px;
overflow: hidden;
}