Skip to content

Commit a6aaf4b

Browse files
abjernerOwain
andauthored
Introduced new "large" overlay size (#11945)
* Introduced new "large" overlay size (1/2) * Introduced new "large" overlay size (2/2) * #H5IS Co-authored-by: Owain <[email protected]>
1 parent 59b0224 commit a6aaf4b

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

src/Umbraco.Web.UI.Client/src/less/components/editor/umb-editor.less

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,8 @@
6969
// and also use a loop to build editor sizes - easily extended with new sizes by adding to the map
7070
@editorSizes:
7171
small 500px,
72-
medium 800px;
72+
medium 800px,
73+
large 1600px;
7374

7475
.create-editor-sizes(@iterator:1) when(@iterator <= length(@editorSizes)) {
7576
.umb-editor {
@@ -92,6 +93,11 @@
9293

9394
.create-editor-sizes();
9495

96+
.umb-editor--large {
97+
max-width: 1600px;
98+
width: calc(100% - 50px);
99+
}
100+
95101
.umb-editor__overlay {
96102
.absolute();
97103
background: rgba(0,0,0,0.4);

src/Umbraco.Web.UI.Client/src/views/components/editor/umb-editors.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
ng-attr-inert="{{$last ? undefined : true}}"
77
ng-class="{'umb-editor--small': model.size === 'small',
88
'umb-editor--medium': model.size === 'medium',
9+
'umb-editor--large': model.size === 'large',
910
'umb-editor--animating': model.animating,
1011
'umb-editor--notInFront': model.inFront !== true,
1112
'umb-editor--infiniteMode': model.infiniteMode,

0 commit comments

Comments
 (0)