Skip to content
This repository has been archived by the owner on Nov 12, 2019. It is now read-only.

Commit

Permalink
fixed widw-page image ratio
Browse files Browse the repository at this point in the history
  • Loading branch information
yjlintw committed May 22, 2017
1 parent 0b8d8f3 commit 50af2fd
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion assets/css/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -906,7 +906,8 @@ h2 {
display: block;
margin: 0 auto;
background: url("../img/download-bg.png") center 30vh no-repeat;
min-width: 334px; }
min-width: 334px;
object-fit: contain; }
@media only screen and (max-width: 768px) {
#read-view #read-area .comic-page-container img {
height: calc(100vh - 25px - 60px * 2); } }
Expand Down
1 change: 1 addition & 0 deletions assets/scss/main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -1220,6 +1220,7 @@ h2 {
margin: 0 auto;
background: url("../img/download-bg.png") center 30vh no-repeat;
min-width: 334px;
object-fit: contain;
@media #{$info-mobile} {
height: calc(100vh - #{$titlebar-height} - #{$sidebar-width} * 2);
}
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "comic-reader",
"productName": "Comic Reader",
"author": "Team Comic Reader",
"version": "0.1.47",
"version": "0.1.48",
"description": "A quicker, smoother and cooler reading experience. The best way to read comics.",
"main": "main.js",
"devDependencies": {
Expand Down

0 comments on commit 50af2fd

Please sign in to comment.