Browse Source

Merge pull request #598 from bhikkhu-kosalla-china/master

阅读器样式优化
Bhikkhu China Kosalla 4 years ago
parent
commit
93cce25164
2 changed files with 3 additions and 3 deletions
  1. 1 1
      app/article/index.php
  2. 2 2
      app/article/style.css

+ 1 - 1
app/article/index.php

@@ -368,7 +368,7 @@ function set_toc_visible(isVisible){
 			</div>
 		</div>
 		<div id="right_pannal" style="max-width: unset;">
-			<div class="fun_frame" style="position: fixed;width: calc(100% - 70vw - 1em);height: calc(100vh - 250px);">
+			<div class="fun_frame" style="position: fixed;width: auto;height: calc(100vh - 250px);display: grid;">
 				<div style="display:flex;justify-content: space-between;">
 					<div class="title"><?php echo $_local->gui->contributor; ?></div>
 					<div class="click_dropdown_div">

+ 2 - 2
app/article/style.css

@@ -167,8 +167,8 @@
 	display: block;
 }
 img {
-	width: 90vw;
-	max-width: 15vw;
+	width: 40%;
+	/*max-width: 40%;*/
 }
 
 /*