Skip to content

Commit

Permalink
Merge pull request jellyfin#2353 from thornbill/comics-player-height
Browse files Browse the repository at this point in the history
Fix scaling in comics player
  • Loading branch information
thornbill committed Jan 27, 2021
2 parents bd186a7 + b502942 commit 441d7a4
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/plugins/comicsPlayer/plugin.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ import ServerConnections from '../../components/ServerConnections';
import { Swiper } from 'swiper/swiper-bundle.esm';
import 'swiper/swiper-bundle.css';

import './style.scss';

export class ComicsPlayer {
constructor() {
this.name = 'Comics Player';
Expand Down
14 changes: 14 additions & 0 deletions src/plugins/comicsPlayer/style.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
#comicsPlayer {
.slideshowSwiperContainer {
height: 100%;
}

.slider-zoom-container {
text-align: center;
height: 100%;
}

.swiper-slide-img {
max-height: 100%;
}
}

0 comments on commit 441d7a4

Please sign in to comment.