2023-03-20 09:48:17 +00:00
|
|
|
@import 'mediawiki.skin.variables.less';
|
2021-11-18 10:50:17 +00:00
|
|
|
|
|
|
|
.ext-WikiEditor-twopanes-TwoPaneLayout {
|
|
|
|
display: flex;
|
|
|
|
|
|
|
|
.ext-WikiEditor-twopanes-pane1 {
|
2023-03-20 09:48:17 +00:00
|
|
|
border-color: @border-color-subtle;
|
|
|
|
border-style: @border-style-base;
|
|
|
|
border-width: 0 @border-width-base 0 0;
|
2021-11-18 10:50:17 +00:00
|
|
|
// Offset by half the difference in padding and the UI affordance.
|
|
|
|
width: ~'calc( 50% - 9px )';
|
|
|
|
}
|
|
|
|
|
|
|
|
.ext-WikiEditor-twopanes-pane2 {
|
|
|
|
position: relative;
|
2023-03-20 09:48:17 +00:00
|
|
|
border-color: @border-color-subtle;
|
|
|
|
border-style: @border-style-base;
|
|
|
|
border-width: 0 0 0 @border-width-base;
|
2021-11-18 10:50:17 +00:00
|
|
|
flex: 1 1 0;
|
2022-03-23 03:28:12 +00:00
|
|
|
padding: 0;
|
2022-04-06 02:48:31 +00:00
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
2022-07-21 16:31:57 +00:00
|
|
|
// Should match ResizingDragBar.static.MIN_PANE_SIZE in ResizingBar.js
|
2022-05-03 13:35:32 +00:00
|
|
|
min-width: 248px;
|
2021-11-18 10:50:17 +00:00
|
|
|
|
2022-04-07 08:36:33 +00:00
|
|
|
.ext-WikiEditor-realtimepreview-preview {
|
|
|
|
overflow: auto;
|
|
|
|
height: 100%;
|
2021-11-18 10:50:17 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|