|
@@ -2154,7 +2154,10 @@ const fixProfileTabAutoSwitch = () => {
|
|
|
export const setTabGroupIframeStyle = (params) => {
|
|
|
let iframeContent = getGroupTabContentNode();
|
|
|
if (iframeContent) {
|
|
|
- iframeContent.style.height = document.querySelector('html').offsetHeight + 'px';
|
|
|
+ let htmlHeight = document.querySelector('html').offsetHeight;
|
|
|
+ let primaryColumnHeightn = document.querySelector('div[data-testid="primaryColumn"]').offsetHeight;
|
|
|
+ let height = primaryColumnHeightn > htmlHeight ? primaryColumnHeightn : htmlHeight;
|
|
|
+ iframeContent.style.height = height + 'px';
|
|
|
}
|
|
|
}
|
|
|
|