Widget:Carousel: Difference between revisions

From MoHA Wiki
No edit summary
Tag: Reverted
No edit summary
 
(One intermediate revision by the same user not shown)
Line 6: Line 6:
       display: flex;
       display: flex;
       align-items: center;
       align-items: center;
       max-height: 130px !important;
       max-height: 300px;
  }
  @media screen and ( min-width: 768px ) {
    .carousel {
      max-height: 200px !important;
    }
  }
  @media screen and ( min-width: 1105px ) {
    .carousel {
      max-height: 36vh !important;
    }
   }
   }
  </style>
  </style>

Latest revision as of 21:27, October 28, 2023

<style>
 .mw-content-ltr ol.carousel-indicators { margin: revert !important; }
 .carousel {
      overflow-y: hidden;
      object-fit: cover;
      display: flex;
      align-items: center;
      max-height: 300px;
 }
</style>
<a class="carousel-control-prev" href="#" role="button" data-slide="prev">Previous</a>
<a class="carousel-control-next" href="#" role="button" data-slide="next">Next</a>