mirror of
https://git.rdcenter.ru/RDCenter/skb-kit.git
synced 2026-12-05 03:59:45 +00:00
размер картинок задан при помощи соотношения 4/5
This commit is contained in:
1 parent
8d07731c8a
commit
8c74e07ef2
1 file changed
+4
-7
@@ -53,15 +53,12 @@ $btn-primary-bg: linear-gradient(
|
||||
|
||||
img {
|
||||
width: 100%;
|
||||
height: 360px;
|
||||
border-radius: 8px;
|
||||
object-position: top;
|
||||
aspect-ratio: 4 / 5;
|
||||
object-fit: cover;
|
||||
object-position: top;
|
||||
border-radius: 8px;
|
||||
pointer-events: none;
|
||||
|
||||
@media (max-width: 768px) {
|
||||
height: 460px;
|
||||
}
|
||||
display: block;
|
||||
}
|
||||
|
||||
.caption {
|
||||
|
||||
Reference in new issue
Block a user