From 24ec13e36d5d9c92d74fe9138d1845e050c8937c Mon Sep 17 00:00:00 2001 From: Paul Armstrong Date: Mon, 8 Feb 2021 13:35:41 -0800 Subject: [PATCH] fix(web): svgs may need explicit height/width in rare cases on linux --- web/src/components/AppBar.jsx | 4 ++-- web/src/icons/ArrowDropdown.jsx | 4 ++-- web/src/icons/ArrowDropup.jsx | 4 ++-- web/src/icons/AutoAwesome.jsx | 4 ++-- web/src/icons/DarkMode.jsx | 4 ++-- web/src/icons/LightMode.jsx | 4 ++-- web/src/icons/Menu.jsx | 4 ++-- web/src/icons/MenuOpen.jsx | 4 ++-- web/src/icons/More.jsx | 4 ++-- web/src/icons/Settings.jsx | 4 ++-- 10 files changed, 20 insertions(+), 20 deletions(-) diff --git a/web/src/components/AppBar.jsx b/web/src/components/AppBar.jsx index c5b11956c..9e4387d74 100644 --- a/web/src/components/AppBar.jsx +++ b/web/src/components/AppBar.jsx @@ -77,14 +77,14 @@ export default function AppBar({ title }) { >
diff --git a/web/src/icons/ArrowDropdown.jsx b/web/src/icons/ArrowDropdown.jsx index 555901e39..0563e1194 100644 --- a/web/src/icons/ArrowDropdown.jsx +++ b/web/src/icons/ArrowDropdown.jsx @@ -1,9 +1,9 @@ import { h } from 'preact'; import { memo } from 'preact/compat'; -export function ArrowDropdown() { +export function ArrowDropdown({ className = '' }) { return ( - + diff --git a/web/src/icons/ArrowDropup.jsx b/web/src/icons/ArrowDropup.jsx index 534076a94..8805e274c 100644 --- a/web/src/icons/ArrowDropup.jsx +++ b/web/src/icons/ArrowDropup.jsx @@ -1,9 +1,9 @@ import { h } from 'preact'; import { memo } from 'preact/compat'; -export function ArrowDropup() { +export function ArrowDropup({ className = '' }) { return ( - + diff --git a/web/src/icons/AutoAwesome.jsx b/web/src/icons/AutoAwesome.jsx index b4f3803fa..f464d3b96 100644 --- a/web/src/icons/AutoAwesome.jsx +++ b/web/src/icons/AutoAwesome.jsx @@ -1,9 +1,9 @@ import { h } from 'preact'; import { memo } from 'preact/compat'; -export function AutoAwesome() { +export function AutoAwesome({ className = '' }) { return ( - + diff --git a/web/src/icons/DarkMode.jsx b/web/src/icons/DarkMode.jsx index 414457e47..8a2abc5b4 100644 --- a/web/src/icons/DarkMode.jsx +++ b/web/src/icons/DarkMode.jsx @@ -1,9 +1,9 @@ import { h } from 'preact'; import { memo } from 'preact/compat'; -export function DarkMode() { +export function DarkMode({ className = '' }) { return ( - + diff --git a/web/src/icons/LightMode.jsx b/web/src/icons/LightMode.jsx index 3044d9102..0609391d5 100644 --- a/web/src/icons/LightMode.jsx +++ b/web/src/icons/LightMode.jsx @@ -1,9 +1,9 @@ import { h } from 'preact'; import { memo } from 'preact/compat'; -export function LightMode() { +export function LightMode({ className = '' }) { return ( - + diff --git a/web/src/icons/Menu.jsx b/web/src/icons/Menu.jsx index fff8961b8..76ea9dd61 100644 --- a/web/src/icons/Menu.jsx +++ b/web/src/icons/Menu.jsx @@ -1,9 +1,9 @@ import { h } from 'preact'; import { memo } from 'preact/compat'; -export function Menu() { +export function Menu({ className = '' }) { return ( - + diff --git a/web/src/icons/MenuOpen.jsx b/web/src/icons/MenuOpen.jsx index 6d8f7bb0c..c3b28308d 100644 --- a/web/src/icons/MenuOpen.jsx +++ b/web/src/icons/MenuOpen.jsx @@ -1,9 +1,9 @@ import { h } from 'preact'; import { memo } from 'preact/compat'; -export function MenuOpen() { +export function MenuOpen({ className = '' }) { return ( - + diff --git a/web/src/icons/More.jsx b/web/src/icons/More.jsx index 7ea2b6df8..9747caa07 100644 --- a/web/src/icons/More.jsx +++ b/web/src/icons/More.jsx @@ -1,9 +1,9 @@ import { h } from 'preact'; import { memo } from 'preact/compat'; -export function More() { +export function More({ className = '' }) { return ( - + diff --git a/web/src/icons/Settings.jsx b/web/src/icons/Settings.jsx index be605cd3c..a2dbafb60 100644 --- a/web/src/icons/Settings.jsx +++ b/web/src/icons/Settings.jsx @@ -1,9 +1,9 @@ import { h } from 'preact'; import { memo } from 'preact/compat'; -export function Settings() { +export function Settings({ className = '' }) { return ( - +