🎯 FIX: Видео заполняет весь контейнер с правильными border-radius
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
This commit is contained in:
@@ -597,6 +597,14 @@
|
||||
.carousel-item {
|
||||
position: relative;
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
border-radius: 20px;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.carousel-inner {
|
||||
height: 100%;
|
||||
border-radius: 20px;
|
||||
}
|
||||
|
||||
.hero-bg {
|
||||
@@ -606,6 +614,8 @@
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
border-radius: 20px;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.hero-video {
|
||||
@@ -615,7 +625,9 @@
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
object-fit: cover;
|
||||
object-position: center;
|
||||
z-index: 1;
|
||||
border-radius: 20px;
|
||||
}
|
||||
|
||||
.hero-bg img {
|
||||
@@ -625,7 +637,9 @@
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
object-fit: cover;
|
||||
object-position: center;
|
||||
z-index: 1;
|
||||
border-radius: 20px;
|
||||
}
|
||||
|
||||
.hero-overlay {
|
||||
@@ -765,6 +779,13 @@
|
||||
max-height: 600px;
|
||||
}
|
||||
|
||||
.carousel-item,
|
||||
.hero-bg,
|
||||
.hero-video,
|
||||
.hero-bg img {
|
||||
border-radius: 15px;
|
||||
}
|
||||
|
||||
.hero-content {
|
||||
padding: 2rem 1.5rem;
|
||||
}
|
||||
@@ -798,6 +819,13 @@
|
||||
min-height: 350px;
|
||||
}
|
||||
|
||||
.carousel-item,
|
||||
.hero-bg,
|
||||
.hero-video,
|
||||
.hero-bg img {
|
||||
border-radius: 12px;
|
||||
}
|
||||
|
||||
.hero-content {
|
||||
padding: 1.5rem 1rem;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user