Bhikkhu-Kosalla 5 лет назад
Родитель
Сommit
9e102b842f
2 измененных файлов с 5 добавлено и 3 удалено
  1. 1 1
      app/article/my_article.js
  2. 4 2
      app/article/my_article_edit.php

+ 1 - 1
app/article/my_article.js

@@ -128,7 +128,7 @@ function my_article_edit(id) {
           html += "</div>";
 
           html +=
-            "<textarea id='article_content' name='content' style='height:500px;'>" +
+            "<textarea id='article_content' name='content' style='height:500px;max-height: 40vh;'>" +
             result.content +
             "</textarea>";
           html += "</div>";

+ 4 - 2
app/article/my_article_edit.php

@@ -39,7 +39,8 @@ require_once '../studio/index_head.php';
 	}
 	.file_list_block {
     max-width: 100%;
-    margin-right: 1em;
+	margin-right: 1em;
+	max-height: 85vh;
 	}
 	.index_inner {
     margin-left: 16em;
@@ -48,7 +49,8 @@ require_once '../studio/index_head.php';
 #preview_div {
     flex: 6;
     overflow-y: scroll;
-    height: 550px;
+	height: 550px;
+	max-height: 75vh;
 }
 
 	</style>