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:
2558a10
)
adjusted product teaser image size / margin
author
Andrew Engelbrecht
<andrew@fsf.org>
Wed, 31 Jul 2019 20:49:15 +0000
(16:49 -0400)
committer
Andrew Engelbrecht
<andrew@fsf.org>
Wed, 31 Jul 2019 20:49:15 +0000
(16:49 -0400)
adjustment in case image is taller than it is wide, also adding a margin
css/style.css
patch
|
blob
|
blame
|
history
diff --git
a/css/style.css
b/css/style.css
index b5ffa3407c7214e012b1134e858d39e102c88097..f726dc41939da397556d123fcd6aa58ccb37525e 100644
(file)
--- a/
css/style.css
+++ b/
css/style.css
@@
-144,11
+144,13
@@
a { transition: 0.3s; }
}
.ryf-list .field--name-field-image {
- margin: 0 auto;
+ margin: 0 auto
10px auto
;
}
.ryf-list img {
max-width: 150px;
+ max-height: 150px;
+ object-fit: contain;
overflow: hidden;
}