fix(web): svgs may need explicit height/width in rare cases on linux

This commit is contained in:
Paul Armstrong
2021-02-08 13:35:41 -08:00
committed by Blake Blackshear
parent d2e7c360b9
commit 24ec13e36d
10 changed files with 20 additions and 20 deletions

View File

@@ -1,9 +1,9 @@
import { h } from 'preact';
import { memo } from 'preact/compat';
export function More() {
export function More({ 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="M12 8c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2zm0 2c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0 6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z" />
</svg>