Skip to content

Commit 3ced63d

Browse files
committed
add css-containment to workspace variables
1 parent 493e099 commit 3ced63d

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

static/core-ui/workspace-view.less

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
@import "ui-variables";
2+
@import "utils";
23

34
atom-workspace {
5+
contain: @contain_all;
46
display: flex;
57
flex-direction: column;
68
height: 100%;
@@ -11,17 +13,20 @@ atom-workspace {
1113
font-family: @font-family;
1214

1315
atom-workspace-axis {
16+
contain: @contain_but_layout_paint;
1417
position: relative;
1518
}
1619

1720
atom-workspace-axis.horizontal {
21+
contain: @contain_but_layout_paint;
1822
display: flex;
1923
flex: 1;
2024
min-width: 0;
2125
min-height: 0;
2226
}
2327

2428
atom-workspace-axis.vertical {
29+
contain: @contain_but_layout_paint;
2530
display: flex;
2631
flex: 1;
2732
flex-direction: column;

0 commit comments

Comments
 (0)