Ver código fonte

More layout fixes :'(

trethaller 6 anos atrás
pai
commit
11f337dfdb
4 arquivos alterados com 6 adições e 4 exclusões
  1. 2 1
      bin/style.css
  2. 2 1
      bin/style.less
  3. 1 1
      hide/view/FXEditor.hx
  4. 1 1
      hide/view/l3d/Level3D.hx

+ 2 - 1
bin/style.css

@@ -220,7 +220,7 @@ input[type=checkbox]:checked:after {
   padding-right: 5px;
 }
 .hide-scenetree {
-  height: 100%;
+  flex: 1;
   background-color: #111;
   border: 1px solid #444;
   width: 300px;
@@ -700,6 +700,7 @@ input[type=checkbox]:checked:after {
 }
 .fx-animpanel .anim-scroll {
   overflow-y: scroll;
+  overflow-x: hidden;
   height: 400px;
 }
 .fx-animpanel .top-bar {

+ 2 - 1
bin/style.less

@@ -234,7 +234,7 @@ input[type=checkbox] {
 }
 
 .hide-scenetree {
-	height: 100%;
+	flex: 1;
 	background-color : #111;
 	border : 1px solid #444;
 	width: 300px;
@@ -773,6 +773,7 @@ input[type=checkbox] {
 
 	.anim-scroll {
 		overflow-y: scroll;
+		overflow-x: hidden;
 		height: 400px;
 	}
 	.top-bar {

+ 1 - 1
hide/view/FXEditor.hx

@@ -213,7 +213,7 @@ class FXEditor extends FileView {
 							<label>Favorites</label>
 							<div class="favorites-tree"></div>
 						</div>
-						<div style="height:80%;">
+						<div style="height:80%;" class="flex vertical">
 							<div class="hide-toolbar" style="zoom: 80%">
 								<div class="button collapse-btn" title="Collapse all">
 									<div class="icon fa fa-reply-all"></div>

+ 1 - 1
hide/view/l3d/Level3D.hx

@@ -331,7 +331,7 @@ class Level3D extends FileView {
 							<label>Favorites</label>
 							<div class="favorites-tree"></div>
 						</div>
-						<div style="height:80%;">
+						<div style="height:80%;" class="flex vertical">
 							<div class="hide-toolbar" style="zoom: 80%">
 								<div class="button collapse-btn" title="Collapse all">
 									<div class="icon fa fa-reply-all"></div>