From b13f86d1bfe01cb1480ade740ef139b2a9db2d50 Mon Sep 17 00:00:00 2001 From: Redume Date: Mon, 19 Sep 2022 13:25:26 +0300 Subject: [PATCH] delete garbage and add crop image --- web/static/style/gallery.css | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/web/static/style/gallery.css b/web/static/style/gallery.css index 11eb73c..51b19f7 100644 --- a/web/static/style/gallery.css +++ b/web/static/style/gallery.css @@ -1,6 +1,7 @@ .card { - border-radius: 4%; - width: 350px; + border-radius: 2%; + min-width: 350px; + max-width: 400px; height: 200px; overflow: hidden; margin: 10px; @@ -15,7 +16,7 @@ justify-content: space-around; } -.btn, .btn:hover { - background-color: #131313; - border: 0px #131313; +.card-img-top { + object-fit: none; + object-position: center; } \ No newline at end of file