diff options
author | matt6697 <32440697+matt6697@users.noreply.github.com> | 2021-09-13 19:57:07 +0300 |
---|---|---|
committer | matt6697 <32440697+matt6697@users.noreply.github.com> | 2021-09-13 19:57:07 +0300 |
commit | 43ae6c2b9be9fc4b3272971b8cb17cd1b15b4953 (patch) | |
tree | 3afc3cb55b909a3c1de0213b60d59709b46045cd | |
parent | f37ea9a7077c49244459b84dcad8af13b82e0a4b (diff) |
Align all card images of a blog page
Configure the same height for all card-img of a row
-rw-r--r-- | assets/scss/templates/_main.scss | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/assets/scss/templates/_main.scss b/assets/scss/templates/_main.scss index a616e70..93c0e60 100644 --- a/assets/scss/templates/_main.scss +++ b/assets/scss/templates/_main.scss @@ -48,6 +48,13 @@ } } +// blog card +.card-img { + object-fit: cover; + width: 100%; + height: 10vw; +} + // blog post a.post-title { color: $text-color-dark; |