forked from Github/frigate
fix(web): svgs may need explicit height/width in rare cases on linux
This commit is contained in:
committed by
Blake Blackshear
parent
d2e7c360b9
commit
24ec13e36d
@@ -1,9 +1,9 @@
|
||||
import { h } from 'preact';
|
||||
import { memo } from 'preact/compat';
|
||||
|
||||
export function Menu() {
|
||||
export function Menu({ className = '' }) {
|
||||
return (
|
||||
<svg className="fill-current" viewBox="0 0 24 24">
|
||||
<svg className={`fill-current ${className}`} viewBox="0 0 24 24">
|
||||
<path d="M0 0h24v24H0z" fill="none" />
|
||||
<path d="M3 18h18v-2H3v2zm0-5h18v-2H3v2zm0-7v2h18V6H3z" />
|
||||
</svg>
|
||||
|
||||
Reference in New Issue
Block a user