font icons instead of SVG icons

This commit is contained in:
Jan Prochazka
2020-11-09 20:49:06 +01:00
parent a7fcf1d3a3
commit ca6d552f5b
16 changed files with 47 additions and 53 deletions

View File

@@ -265,7 +265,7 @@ export default function TabsPanel() {
onMouseUp={(e) => handleMouseUp(e, tab.tabid)}
onContextMenu={(e) => handleContextMenu(e, tab.tabid, tab.props)}
>
{tab.busy ? <i className="mdi mdi-loading mdi-spin"></i> : getIconImage(tab.icon)}
{<span className={tab.busy ? 'mdi mdi-loading mdi-spin' : tab.icon} />}
<FileNameWrapper>{tab.title}</FileNameWrapper>
<CloseButton
className="mdi mdi-close tabCloseButton"