Debian Codegraph @

extensions/WikiEditor/modules/realtimepreview/TwoPaneLayout.less

raw
1 @import 'mediawiki.skin.variables.less';
2
3 .ext-WikiEditor-twopanes-TwoPaneLayout {
4 display: flex;
5
6 .ext-WikiEditor-twopanes-pane1 {
7 border-color: @border-color-subtle;
8 border-style: @border-style-base;
9 border-width: 0 @border-width-base 0 0;
10 // Offset by half the difference in padding and the UI affordance.
11 width: ~'calc( 50% - 9px )';
12 }
13
14 .ext-WikiEditor-twopanes-pane2 {
15 position: relative;
16 border-color: @border-color-subtle;
17 border-style: @border-style-base;
18 border-width: 0 0 0 @border-width-base;
19 flex: 1 1 0;
20 padding: 0;
21 display: flex;
22 flex-direction: column;
23 // Should match ResizingDragBar.static.MIN_PANE_SIZE in ResizingBar.js
24 min-width: 248px;
25
26 .ext-WikiEditor-realtimepreview-preview {
27 overflow: auto;
28 height: 100%;
29 }
30 }
31 }