File tree Expand file tree Collapse file tree 1 file changed +33
-10
lines changed
Expand file tree Collapse file tree 1 file changed +33
-10
lines changed Original file line number Diff line number Diff line change 4242 display : flex ;
4343 flex-direction : row ;
4444 gap : 10px ;
45+ height : 100% ;
4546 }
4647
4748 .editorwrapper {
48- flex : 1 ;
49- display : flex ;
50- flex-direction : column ;
51- }
52-
53- // Make YASQE fill the vertical space in horizontal mode
54- .yasqe {
49+ flex : 1 1 50% ;
5550 display : flex ;
5651 flex-direction : column ;
57- flex : 1 ;
58- min-height : 0 ;
52+ min-width : 0 ;
53+ max-width : 50% ;
54+ height : 100% ;
5955 overflow : hidden ;
6056
61- .CodeMirror {
57+ // Unnamed div container needs full height
58+ > div {
59+ height : 100% ;
6260 flex : 1 ;
61+ display : flex ;
62+ flex-direction : column ;
63+
64+ // Container for tab panels - takes remaining height after tabsList
65+ > div :not (.controlbar ) {
66+ flex : 1 ;
67+ display : flex ;
68+ flex-direction : column ;
69+ min-height : 0 ; // Required for flex children to shrink properly
70+ overflow : hidden ;
71+
72+ // Make YASQE fill the vertical space in horizontal mode
73+ .yasqe {
74+ flex : 1 ;
75+ display : flex ;
76+ flex-direction : column ;
77+ height : 100% ;
78+ overflow : hidden ;
79+
80+ .CodeMirror {
81+ flex : 1 ;
82+ height : 100% ;
83+ }
84+ }
85+ }
6386 }
6487 }
6588
You can’t perform that action at this time.
0 commit comments