feat(SerialConsolePage): update background icon to use CSS for improved styling
This commit is contained in:
parent
ae6acc3bee
commit
648fb2778c
|
|
@ -141,9 +141,9 @@ export default function SerialConsolePage({ onBack }: Props) {
|
||||||
style={{ paddingBottom: 'env(safe-area-inset-bottom)' }}
|
style={{ paddingBottom: 'env(safe-area-inset-bottom)' }}
|
||||||
>
|
>
|
||||||
<div ref={containerRef} className="absolute inset-0" />
|
<div ref={containerRef} className="absolute inset-0" />
|
||||||
<img
|
<div
|
||||||
src="assets/icon.svg"
|
className="absolute inset-0 pointer-events-none z-10 opacity-15"
|
||||||
className="absolute inset-0 m-auto w-64 h-64 pointer-events-none select-none opacity-40 z-10"
|
style={{ backgroundImage: 'url(assets/icon.svg)', backgroundRepeat: 'repeat', backgroundSize: '64px 64px' }}
|
||||||
aria-hidden="true"
|
aria-hidden="true"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user