mirror of
https://github.com/4ian/GDevelop.git
synced 2025-10-15 10:19:04 +00:00
Fix bad height of InstancesEditor when tabs were hidden (i.e when newIDE integrated in IDE)
This commit is contained in:
@@ -14,6 +14,11 @@ export class ThemableTabs extends Component {
|
||||
backgroundColor: muiTheme.closableTabs.backgroundColor,
|
||||
};
|
||||
|
||||
const contentContainerStyle = {
|
||||
overflowY: 'hidden',
|
||||
height: hideLabels ? '100%' : `calc(100% - ${muiTheme.closableTabs.height}px)`,
|
||||
};
|
||||
|
||||
return (
|
||||
<MaterialUITabs
|
||||
style={{
|
||||
@@ -23,10 +28,7 @@ export class ThemableTabs extends Component {
|
||||
tabTemplateStyle={{
|
||||
height: '100%',
|
||||
}}
|
||||
contentContainerStyle={{
|
||||
overflowY: 'hidden',
|
||||
height: `calc(100% - ${muiTheme.closableTabs.height}px)`,
|
||||
}}
|
||||
contentContainerStyle={contentContainerStyle}
|
||||
tabItemContainerStyle={tabItemContainerStyle}
|
||||
inkBarStyle={{ display: 'none' }}
|
||||
{...tabsProps}
|
||||
|
Reference in New Issue
Block a user