mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Fix scaling in comics player
This commit is contained in:
parent
a77f9891b2
commit
b5029422f8
2 changed files with 16 additions and 0 deletions
|
@ -9,6 +9,8 @@ import ServerConnections from '../../components/ServerConnections';
|
||||||
import { Swiper } from 'swiper/swiper-bundle.esm';
|
import { Swiper } from 'swiper/swiper-bundle.esm';
|
||||||
import 'swiper/swiper-bundle.css';
|
import 'swiper/swiper-bundle.css';
|
||||||
|
|
||||||
|
import './style.scss';
|
||||||
|
|
||||||
export class ComicsPlayer {
|
export class ComicsPlayer {
|
||||||
constructor() {
|
constructor() {
|
||||||
this.name = 'Comics Player';
|
this.name = 'Comics Player';
|
||||||
|
|
14
src/plugins/comicsPlayer/style.scss
Normal file
14
src/plugins/comicsPlayer/style.scss
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
#comicsPlayer {
|
||||||
|
.slideshowSwiperContainer {
|
||||||
|
height: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.slider-zoom-container {
|
||||||
|
text-align: center;
|
||||||
|
height: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.swiper-slide-img {
|
||||||
|
max-height: 100%;
|
||||||
|
}
|
||||||
|
}
|
Loading…
Add table
Add a link
Reference in a new issue