youssefreda9 commited on
Commit
2eee5a8
·
1 Parent(s): 9534e03

fix: resolve layout grid blowout causing overlapping panels

Browse files
Files changed (1) hide show
  1. src/css/components.css +10 -11
src/css/components.css CHANGED
@@ -4107,16 +4107,17 @@ body.focus-mode .editor-surface {
4107
  height: 100%;
4108
  }
4109
 
 
 
 
 
 
 
4110
  #page-editor .editor-shell {
4111
  display: flex;
4112
  flex-direction: column;
4113
  height: 100%;
4114
- overflow: visible;
4115
- }
4116
-
4117
- #page-editor .editor-footer {
4118
- overflow: visible;
4119
- flex-wrap: wrap;
4120
  }
4121
 
4122
  #page-editor #write-area,
@@ -4126,12 +4127,10 @@ body.focus-mode .editor-surface {
4126
  flex: 1;
4127
  overflow-y: auto;
4128
  min-height: 0;
4129
- display: flex;
4130
- flex-direction: column;
4131
  }
4132
 
4133
- #page-editor .editor-surface {
4134
- flex: 1;
4135
- min-height: 100%;
4136
  }
4137
 
 
4107
  height: 100%;
4108
  }
4109
 
4110
+ /* Prevent grid items from growing beyond their track */
4111
+ #page-editor .editor-layout > div {
4112
+ min-width: 0;
4113
+ min-height: 0;
4114
+ }
4115
+
4116
  #page-editor .editor-shell {
4117
  display: flex;
4118
  flex-direction: column;
4119
  height: 100%;
4120
+ overflow: hidden;
 
 
 
 
 
4121
  }
4122
 
4123
  #page-editor #write-area,
 
4127
  flex: 1;
4128
  overflow-y: auto;
4129
  min-height: 0;
 
 
4130
  }
4131
 
4132
+ /* Prevent sidebar cards from squishing */
4133
+ #page-editor .sidebar-panel > div {
4134
+ flex-shrink: 0;
4135
  }
4136