feat: implement carousel components for news section and update layout styles

This commit is contained in:
fredy.siswanto
2025-02-28 16:50:44 +07:00
parent 3f9bfded80
commit 2b551aad28
7 changed files with 381 additions and 10 deletions
+24
View File
@@ -28,3 +28,27 @@ table.dataTable tbody > tr > td {
border-right: none !important;
border-bottom: 1px solid #ebebeb;
}
/* .embla.hero {
overflow: hidden;
}
.embla__container.hero {
display: flex;
background-color: yellow;
}
.embla__slide.hero {
flex: 0 0 100%;
min-width: 0;
} */
.embla__slide {
margin-right: 10px;
flex: 0 0 auto;
min-width: 0;
max-width: 100%;
}
@media (min-width: 768px) {
.embla__slide {
margin-right: 30px;
}
}