Browse Source

new layout

pu 4 years ago
parent
commit
b68afad16d
1 changed files with 4 additions and 2 deletions
  1. 4
    2
      src/editor.html

+ 4
- 2
src/editor.html View File

1723
 				padding-bottom: 0px;
1723
 				padding-bottom: 0px;
1724
 				overflow-y: scroll;
1724
 				overflow-y: scroll;
1725
 				-webkit-overflow-scrolling: touch;
1725
 				-webkit-overflow-scrolling: touch;
1726
-				height: 100%;
1726
+				height: calc(100vh);
1727
+				display: flex;
1728
+				flex-direction: column;
1727
 			}
1729
 			}
1728
 
1730
 
1729
 			img {
1731
 			img {
1747
 				padding-right: 10px;
1749
 				padding-right: 10px;
1748
 				line-height: 20px;
1750
 				line-height: 20px;
1749
 				caret-color:rgb(90, 149, 211);
1751
 				caret-color:rgb(90, 149, 211);
1750
-				margin-bottom: 100px;
1752
+				flex: 1;
1751
 			}
1753
 			}
1752
 
1754
 
1753
 			#zss_editor_title {
1755
 			#zss_editor_title {