File: TwoPaneLayout.less

package info (click to toggle)
mediawiki 1%3A1.43.3%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 417,464 kB
  • sloc: php: 1,062,949; javascript: 664,290; sql: 9,714; python: 5,458; xml: 3,489; sh: 1,131; makefile: 64
file content (31 lines) | stat: -rw-r--r-- 781 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
@import 'mediawiki.skin.variables.less';

.ext-WikiEditor-twopanes-TwoPaneLayout {
	display: flex;

	.ext-WikiEditor-twopanes-pane1 {
		border-color: @border-color-subtle;
		border-style: @border-style-base;
		border-width: 0 @border-width-base 0 0;
		// Offset by half the difference in padding and the UI affordance.
		width: ~'calc( 50% - 9px )';
	}

	.ext-WikiEditor-twopanes-pane2 {
		position: relative;
		border-color: @border-color-subtle;
		border-style: @border-style-base;
		border-width: 0 0 0 @border-width-base;
		flex: 1 1 0;
		padding: 0;
		display: flex;
		flex-direction: column;
		// Should match ResizingDragBar.static.MIN_PANE_SIZE in ResizingBar.js
		min-width: 248px;

		.ext-WikiEditor-realtimepreview-preview {
			overflow: auto;
			height: 100%;
		}
	}
}