Skip to content

Commit

Permalink
fix #917 Carousel images size only horizontally
Browse files Browse the repository at this point in the history
  • Loading branch information
vegegoku committed Apr 14, 2024
1 parent d04ed12 commit efda29b
Showing 1 changed file with 9 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,9 @@
position: relative;
width: 100%;
overflow: hidden;
display: flex;
justify-content: center;
max-height: 100%;
}

.dui-carousel-inner>.dui-slide {
Expand Down Expand Up @@ -99,6 +102,9 @@
position: absolute;
top: 0;
width: 100%;
height: 100%;
margin: auto;
object-fit: contain;
}

.dui-carousel-inner>.dui-slide-next {
Expand Down Expand Up @@ -129,9 +135,11 @@
display: block;
max-width: 100%;
width: 100%;
height: auto;
height: 100%;
vertical-align: middle;
border: 0;
margin: auto;
object-fit: contain;
}

.dui-carousel-control {
Expand Down

0 comments on commit efda29b

Please sign in to comment.