Browse Source

样式优化

Bhikkhu-Kosalla 5 years ago
parent
commit
caf20df705
3 changed files with 19 additions and 0 deletions
  1. 3 0
      app/article/mobile.css
  2. 12 0
      app/article/style.css
  3. 4 0
      app/studio/editor.php

+ 3 - 0
app/article/mobile.css

@@ -19,3 +19,6 @@
 #head_bar {
 	flex-direction: column;
 }
+#main_view {
+	padding-top: 10em;
+}

+ 12 - 0
app/article/style.css

@@ -22,10 +22,22 @@
 	border-bottom: 1px solid var(--tool-line-color);
 	padding: 10px;
 	margin-top: 50px;
+	position: fixed;
+	top: 0;
+	left: 0;
+	width: 100%;
+	z-index: 100;
+}
+#pali_pedia {
+	font-size: 200%;
+	margin-top: auto;
+	margin-bottom: auto;
+	padding-left: 0.5em;
 }
 
 .main_view {
 	padding: 0 1em;
+	padding-top: 7em;
 	max-width: 1280px;
 	margin-left: auto;
 	margin-right: auto;

+ 4 - 0
app/studio/editor.php

@@ -149,6 +149,10 @@ else{$currDevice="computer";}
 		padding: 0.5em 0.5em 0.1em 0.5em;
 		padding-top:0;
 	}
+	.translate_sent_head_content{
+		max-height: 9em;
+    overflow-y: scroll;
+	}
 	.translate_sent_head_content .readonly{
 		border-color: #d1d1d1;
 		background-color: #f1f1f1;