File tree 2 files changed +5
-5
lines changed
2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -96,16 +96,16 @@ class SegmentedButton extends UI5Element {
96
96
this . absoluteWidthSet = false ; // set to true whenever we set absolute width to the component
97
97
this . percentageWidthSet = false ; // set to true whenever we set 100% width to the component
98
98
this . hasPreviouslyFocusedItem = false ;
99
- }
100
99
101
- onEnterDOM ( ) {
102
100
this . _handleResizeBound = this . _handleResize . bind ( this ) ;
101
+ }
103
102
104
- ResizeHandler . register ( document . body , this . _handleResizeBound ) ;
103
+ onEnterDOM ( ) {
104
+ ResizeHandler . register ( this . parentNode , this . _handleResizeBound ) ;
105
105
}
106
106
107
107
onExitDOM ( ) {
108
- ResizeHandler . deregister ( document . body , this . _handleResizeBound ) ;
108
+ ResizeHandler . deregister ( this . parentNode , this . _handleResizeBound ) ;
109
109
}
110
110
111
111
onBeforeRendering ( ) {
Original file line number Diff line number Diff line change 8
8
9
9
::slotted (ui5-togglebutton ) {
10
10
border-radius : 0 ;
11
- height : 2.75 rem ;
11
+ height : var ( --_ui5_button_base_height ) ;
12
12
min-width : 2.5rem ;
13
13
white-space : nowrap;
14
14
overflow : hidden;
You can’t perform that action at this time.
0 commit comments