File tree 4 files changed +25
-4
lines changed
packages/main/src/components/AnalyticalTable
4 files changed +25
-4
lines changed Original file line number Diff line number Diff line change @@ -57,7 +57,7 @@ import * as ComponentStories from './AnalyticalTable.stories';
57
57
// set filter
58
58
column .setFilter (event .detail .selectedOption .getAttribute (' value' ));
59
59
// close popover
60
- popoverRef .current .close () ;
60
+ popoverRef .current .open = false ;
61
61
};
62
62
return (
63
63
< Select
Original file line number Diff line number Diff line change @@ -69,7 +69,7 @@ const meta = {
69
69
// set filter
70
70
column . setFilter ( event . detail . selectedOption . getAttribute ( 'value' ) ) ;
71
71
// close popover
72
- popoverRef . current . close ( ) ;
72
+ popoverRef . current . open = false ;
73
73
} ;
74
74
return (
75
75
< Select onChange = { handleChange } style = { { width : '100%' } } >
Original file line number Diff line number Diff line change 29
29
overflow-x : hidden;
30
30
overflow-y : hidden;
31
31
box-sizing : border-box;
32
+
33
+ & > span {
34
+ width : 100% ;
35
+ text-overflow : ellipsis;
36
+ white-space : nowrap;
37
+ overflow-x : hidden;
38
+ overflow-y : hidden;
39
+ }
32
40
}
33
41
34
42
.text {
44
52
position : absolute;
45
53
color : var (--sapContent_IconColor );
46
54
inset-inline-end : 0.5rem ;
55
+
56
+ & > [ui5-icon ]: not (: first-child ) {
57
+ margin-inline-start : 0.125rem ;
58
+ }
47
59
}
48
60
49
61
.selectAllCheckBoxContainer {
Original file line number Diff line number Diff line change @@ -119,7 +119,9 @@ export const ColumnHeader = (props: ColumnHeaderProps) => {
119
119
return style ;
120
120
}
121
121
122
- if ( margin > 0 ) margin += 0.5 ;
122
+ if ( margin > 0 ) {
123
+ margin += 0.625 ;
124
+ }
123
125
124
126
style . marginInlineEnd = `${ margin } rem` ;
125
127
@@ -215,7 +217,14 @@ export const ColumnHeader = (props: ColumnHeaderProps) => {
215
217
{ children }
216
218
</ Text >
217
219
) : (
218
- children
220
+ < span
221
+ title = { tooltip }
222
+ style = { textStyle }
223
+ className = { classNames . text }
224
+ data-component-name = { `AnalyticalTableHeaderContentContainer-${ columnId } ` }
225
+ >
226
+ { children }
227
+ </ span >
219
228
) }
220
229
< div
221
230
className = { classNames . iconContainer }
You can’t perform that action at this time.
0 commit comments