Skip to content

Commit ed3661a

Browse files
Update irsaviewer style fix because icon changed
1 parent ba47f6e commit ed3661a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/SlateCommandExt.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,8 @@ export class SlateRootWidget extends Widget {
114114
// unset the appIcon styles that irsaviewer applies for its double banner layout
115115
set(props,'slotProps.banner.slotProps.tabs.pl', 0);
116116
set(props,'slotProps.banner.slotProps.icon.style.marginTop', 0);
117-
set(props,'slotProps.banner.slotProps.icon.sx.height', 40);
117+
set(props,'slotProps.banner.slotProps.icon.sx',
118+
{'.MuiSvgIcon-root': {height: '3rem', width: '3rem', pl: 0}});
118119
}
119120
action.dispatchApiToolsView(true,false);
120121
this.controlApp= util.startAsAppFromApi(id, props);

0 commit comments

Comments
 (0)