Преглед изворни кода

Fixed panel height & scroll issue with flexbox in firefox, fixes #14620

Torkel Ödegaard пре 7 година
родитељ
комит
9aa2764753
1 измењених фајлова са 3 додато и 0 уклоњено
  1. 3 0
      public/sass/components/_panel_editor.scss

+ 3 - 0
public/sass/components/_panel_editor.scss

@@ -26,6 +26,7 @@
   flex-direction: row;
   flex-direction: row;
   flex: 1 1 0;
   flex: 1 1 0;
   position: relative;
   position: relative;
+  min-height: 0;
 }
 }
 
 
 .panel-editor__right {
 .panel-editor__right {
@@ -36,6 +37,7 @@
   margin: 0 20px 0 84px;
   margin: 0 20px 0 84px;
   border-radius: 3px;
   border-radius: 3px;
   box-shadow: $panel-editor-shadow;
   box-shadow: $panel-editor-shadow;
+  min-height: 0;
 }
 }
 
 
 .panel-editor__close {
 .panel-editor__close {
@@ -60,6 +62,7 @@
   flex-grow: 1;
   flex-grow: 1;
   min-width: 0;
   min-width: 0;
   display: flex;
   display: flex;
+  min-height: 0;
 }
 }
 
 
 .panel-editor__content {
 .panel-editor__content {