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:
dbd9476
)
adjusted display of product thumbnail images
author
Andrew Engelbrecht
<andrew@fsf.org>
Mon, 29 Jul 2019 20:05:34 +0000
(16:05 -0400)
committer
Andrew Engelbrecht
<andrew@fsf.org>
Mon, 29 Jul 2019 20:05:34 +0000
(16:05 -0400)
css/style.css
patch
|
blob
|
blame
|
history
diff --git
a/css/style.css
b/css/style.css
index 7018a398468d9d5b876c2c9fbec5c0fe35009f15..8f406895e64c523ceb642699a432728afbb0c7a5 100644
(file)
--- a/
css/style.css
+++ b/
css/style.css
@@
-120,12
+120,16
@@
a { transition: 0.3s; }
}
.ryf-list .field--type-image {
}
.ryf-list .field--type-image {
- width: 1
00%
;
+ width: 1
50px
;
height: 150px;
background: #fff;
border-radius: 10px;
display: flex;
height: 150px;
background: #fff;
border-radius: 10px;
display: flex;
- justify-content: center;
+ align-items: center;
+}
+
+.ryf-list .field--name-field-image {
+ margin: 0 auto;
}
.ryf-list img {
}
.ryf-list img {