mirror of
https://gitcode.com/GitHub_Trending/ji/jitsi-meet.git
synced 2026-05-19 00:57:50 +00:00
ref(toolbar): re-wrap buttons for torture tests
The inline classes for the toolbars were re-arranged to fix non-rounded corners in the always-on-top window's toolbar. However, those classes were also used by the torture tests as a way to find stable elements that will not get blown away by a react re-render. So re-wrap the buttons with a div that will not get blown away, add back the inline classes to those divs, and change the CSS to round the corners in the always-on-top window's toolbar.
This commit is contained in:
committed by
Дамян Минков
parent
6146c12533
commit
e217c172f8
@@ -140,7 +140,11 @@ class ToolbarButton extends Component<*> {
|
||||
);
|
||||
}
|
||||
|
||||
return children;
|
||||
return (
|
||||
<div className = { `toolbar-button-wrapper ${button.id}-wrapper` }>
|
||||
{ children }
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user