feat(SerialConsolePage): update background icon to use CSS for improved styling

This commit is contained in:
Jaime Idolpx 2026-06-11 00:37:11 -04:00
parent ae6acc3bee
commit 648fb2778c

View File

@ -141,9 +141,9 @@ export default function SerialConsolePage({ onBack }: Props) {
style={{ paddingBottom: 'env(safe-area-inset-bottom)' }}
>
<div ref={containerRef} className="absolute inset-0" />
<img
src="assets/icon.svg"
className="absolute inset-0 m-auto w-64 h-64 pointer-events-none select-none opacity-40 z-10"
<div
className="absolute inset-0 pointer-events-none z-10 opacity-15"
style={{ backgroundImage: 'url(assets/icon.svg)', backgroundRepeat: 'repeat', backgroundSize: '64px 64px' }}
aria-hidden="true"
/>
</div>