mirror of
https://github.com/Radiquum/AniX.git
synced 2025-09-06 14:33:53 +05:00
anix/feat: add interesting carousel to discovery page
This commit is contained in:
parent
93205fdb4e
commit
bfb361a0a8
5 changed files with 121 additions and 15 deletions
21
app/components/Discovery/InterestingCarousel.module.css
Normal file
21
app/components/Discovery/InterestingCarousel.module.css
Normal file
|
@ -0,0 +1,21 @@
|
|||
.swiper-button:global(.swiper-button-disabled) {
|
||||
opacity: 0 !important;
|
||||
}
|
||||
|
||||
.swiper-button {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
@media (hover: hover) and (min-width: 1024px) {
|
||||
.swiper {
|
||||
overflow: visible !important;
|
||||
}
|
||||
}
|
||||
|
||||
@media (hover: hover) {
|
||||
.swiper:hover .swiper-button {
|
||||
display: flex !important;
|
||||
width: 64px;
|
||||
height: 64px;
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue