Skip to content

Commit 27925d6

Browse files
committed
COMPASS-1687: Fix editable element z-indexes
1 parent ffdc39a commit 27925d6

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

src/internal-packages/crud/styles/editable-element-field.less

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,15 @@
33
border: none;
44
padding-left: 1px;
55
-webkit-user-select: text;
6-
max-width: 15vw;
6+
max-width: 15vw;
77
text-overflow: ellipsis;
88
white-space: nowrap;
99
overflow: hidden;
1010

1111
&-is-editing {
1212
border: 1px solid @gray3;
1313
box-shadow: 0px 2px 4px 0px rgba(0,0,0,0.2);
14-
z-index: 10;
14+
z-index: 200;
1515
margin-top: -1px;
1616
margin-bottom: -1px;
1717
}

src/internal-packages/crud/styles/editable-element-value.less

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@
5757
&-is-editing {
5858
border: 1px solid @gray3;
5959
box-shadow: 0px 2px 4px 0px rgba(0,0,0,0.2);
60-
z-index: 10;
60+
z-index: 200;
6161
margin-top: -1px;
6262
margin-bottom: -1px;
6363
}

src/internal-packages/crud/styles/element.less

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@
2222
vertical-align: top;
2323
-webkit-user-select: text;
2424
flex-grow: 3;
25+
z-index: 50;
26+
position: relative;
2527

2628
&-is-string {
2729
color: steelblue;

0 commit comments

Comments
 (0)