nitropedia slim header

This commit is contained in:
Layne 2022-03-17 19:35:52 -04:00
parent 3f69ea167d
commit bf0f81db2a

View File

@ -74,7 +74,7 @@ export const NitropediaView: FC<{}> = props =>
if(!content) return null; if(!content) return null;
return ( return (
<NitroCardView className="nitropedia"> <NitroCardView className="nitropedia" theme="primary-slim">
<NitroCardHeaderView headerText={header} onCloseClick={() => setContent(null)}/> <NitroCardHeaderView headerText={header} onCloseClick={() => setContent(null)}/>
<NitroCardContentView> <NitroCardContentView>
<Base fit innerRef={ elementRef } className="text-black" dangerouslySetInnerHTML={{ __html: content }} /> <Base fit innerRef={ elementRef } className="text-black" dangerouslySetInnerHTML={{ __html: content }} />