mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/WikiEditor
synced 2024-11-30 19:15:43 +00:00
2b43b3cb0d
Preserve content when links that toggle content are clicked in manual mode. Bug: T306877 Change-Id: I8b494e84feb4ecdb4b346f78f911f6ae9ba8dce3
31 lines
739 B
Plaintext
31 lines
739 B
Plaintext
@import 'mediawiki.ui/variables.less';
|
|
|
|
.ext-WikiEditor-twopanes-TwoPaneLayout {
|
|
// stylelint-disable-next-line plugin/no-unsupported-browser-features
|
|
display: flex;
|
|
|
|
.ext-WikiEditor-twopanes-pane1 {
|
|
border: 1px solid @colorGray12;
|
|
border-width: 0 1px 0 0;
|
|
// Offset by half the difference in padding and the UI affordance.
|
|
// stylelint-disable-next-line plugin/no-unsupported-browser-features
|
|
width: ~'calc( 50% - 9px )';
|
|
}
|
|
|
|
.ext-WikiEditor-twopanes-pane2 {
|
|
position: relative;
|
|
border: 1px solid @colorGray12;
|
|
border-width: 0 0 0 1px;
|
|
flex: 1 1 0;
|
|
padding: 0;
|
|
display: flex;
|
|
flex-direction: column;
|
|
min-width: 248px;
|
|
|
|
.ext-WikiEditor-realtimepreview-preview {
|
|
overflow: auto;
|
|
height: 100%;
|
|
}
|
|
}
|
|
}
|