簡體   English   中英

當縮略圖超過 8 個時,Carousel React Fluent UI 無法正確呈現

[英]Carousel React Fluent UI does not render properly when have more than 8 thumbnails

這個問題讓我失去理智。 我想使用帶有縮略圖的 React Fluent UI Carousel 組件並將其放在我的容器中間,一切正常,直到我添加超過 8 張幻燈片。 輪播移動到屏幕左側並最終從視口中消失。

我正在使用 Fluent UI 中的默認代碼片段在這里可用Fluent ui 縮略圖輪播

在此處輸入圖片說明

只需覆蓋以下屬性:

.ln {
    width: 600px;
}

.ui-carousel__navigation {
  margin-top: -55px !important;
  position: absolute;
  display: flex;
  flex-flow: wrap;
  justify-content: space-between;
  width: 1000px;
  margin-left: -200px;
}

.nb {
    transform:none !important;
}

.ol {
    transform: none !important;
}

.nc {
    transform: none !important;
}

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM