Skip to content

Commit 0219a3e

Browse files
fix: FIT-126: datamanager column resizer positioning fix (#7577)
1 parent 8659495 commit 0219a3e

File tree

5 files changed

+16
-28
lines changed

5 files changed

+16
-28
lines changed

web/libs/datamanager/src/components/Common/Resizer/Resizer.scss

Lines changed: 8 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
.resizer {
2-
--handle-size: 1px;
3-
--handle-size-hover: 2px;
4-
5-
position: relative;
2+
--handle-size: 2px;
3+
--handle-size-hover: 3px;
64

75
& button {
86
&:focus {
@@ -12,33 +10,17 @@
1210
}
1311

1412
&__handle {
15-
top: 0;
16-
height: 100%;
13+
top: 25%;
14+
bottom: 25%;
1715
position: absolute;
1816
cursor: ew-resize;
1917
z-index: 100;
2018
right: 0;
19+
width: var(--handle-size);
20+
background: var(--color-neutral-border);
2121

22-
&::before {
23-
top: 0;
24-
left: 50%;
25-
bottom: 0;
26-
width: var(--handle-size);
27-
content: "";
28-
z-index: 5;
29-
display: block;
30-
background: var(--color-neutral-border);
31-
position: absolute;
32-
}
33-
34-
&_quickview::before {
35-
left: 0;
36-
}
37-
38-
&:hover::before,
39-
&_resizing::before {
40-
top: 0;
41-
bottom: 0;
22+
&:hover,
23+
&_resizing {
4224
width: var(--handle-size-hover);
4325
background-color: var(--color-primary-border-subtle);
4426
}

web/libs/datamanager/src/components/Common/Table/Table.scss

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,6 @@
114114
display: flex;
115115
align-items: center;
116116
position: relative;
117-
overflow: hidden;
118117
word-break: break-word;
119118
color: var(--color-neutral-content-subtler);
120119
}

web/libs/datamanager/src/components/Common/TableOld/Table.scss

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,6 @@
109109
display: flex;
110110
align-items: center;
111111
position: relative;
112-
overflow: hidden;
113112
word-break: break-word;
114113
}
115114

web/libs/datamanager/src/components/Label/Label.scss

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,11 @@
3737
flex: 200px 0 0;
3838
position: relative;
3939
flex-direction: column;
40+
41+
.resizer__handle {
42+
top: 0;
43+
bottom: 0;
44+
}
4045
}
4146

4247
&__content {

web/libs/datamanager/src/utils/feature-flags.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,9 @@ export const FF_MEMORY_LEAK_FIX = "fflag_feat_all_optic_1178_reduce_memory_leak_
5555
*/
5656
export const FF_REGION_VISIBILITY_FROM_URL = "fflag_feat_front_optic_1553_url_based_region_visibility_short";
5757

58+
/**
59+
* Add ability to show average agreement score popover in Agreement cell.
60+
*/
5861
export const FF_AVERAGE_AGREEMENT_SCORE_POPOVER = "fflag_feat_all_leap_2042_average_agreement_score_popover";
5962

6063
// Customize flags

0 commit comments

Comments
 (0)