Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/Radarr/commit/213620cb290ed131cb23a9124e5102d0ba101352
You should set ROOT_URL correctly, otherwise the web may not work correctly.
3 changed files with
8 additions and
26 deletions
@ -9,3 +9,9 @@
. container {
padding : 10px ;
}
. sliderContainer {
--swiper-navigation-color : var ( --white ) ;
display : block ;
}
@ -4,6 +4,7 @@ interface CssExports {
'container' : string ;
'grid' : string ;
'movie' : string ;
'sliderContainer' : string ;
}
export const cssExports : CssExports ;
export default cssExports ;
@ -66,32 +66,8 @@ class MovieCreditPosters extends Component {
posterHeight : 238 ,
rowHeight : calculateRowHeight ( 238 , props . isSmallScreen )
} ;
this . _isInitialized = false ;
}
//
// Control
calculateGrid = ( width = this . state . width , isSmallScreen ) => {
const padding = isSmallScreen ? columnPaddingSmallScreen : columnPadding ;
const columnWidth = calculateColumnWidth ( width , 'small' , isSmallScreen ) ;
const columnCount = Math . max ( Math . floor ( width / columnWidth ) , 1 ) ;
const posterWidth = columnWidth - padding ;
const posterHeight = calculatePosterHeight ( posterWidth ) ;
const rowHeight = calculateRowHeight ( posterHeight , isSmallScreen ) ;
this . setState ( {
width ,
columnWidth ,
columnCount ,
posterWidth ,
posterHeight ,
rowHeight
} ) ;
} ;
//
// Render
@ -114,13 +90,12 @@ class MovieCreditPosters extends Component {
slidesPerView = 'auto'
spaceBetween = { 10 }
slidesPerGroup = { 3 }
navigation = { true }
loop = { false }
loopFillGroupWithBlank = { true }
className = "mySwiper"
modules = { [ Navigation ] }
onInit = { ( swiper ) => {
swiper . params . navigation . prevEl = this . _swiperPrevRef ;
swiper . params . navigation . nextEl = this . _swiperNextRef ;
swiper . navigation . init ( ) ;
swiper . navigation . update ( ) ;
} }