refactor: simplify secondary styles

This commit is contained in:
Carlos Valente
2024-09-20 22:55:56 +02:00
committed by Carlos Valente
parent 4d8bea2940
commit 8a5cef79a8
6 changed files with 27 additions and 7 deletions
@@ -203,7 +203,7 @@ export default function Timer(props: TimerProps) {
</div>
)}
<div
className={`external${secondaryContent ? '' : ' external--hidden'}`}
className={`secondary${secondaryContent ? '' : ' secondary--hidden'}`}
style={{ fontSize: `${externalFontSize}vw` }}
>
{secondaryContent}