From e147bd75c392b29c7acdb6d6ad2b1d1a39ef77ce Mon Sep 17 00:00:00 2001 From: Ira Date: Fri, 18 Jun 2021 18:20:18 +0300 Subject: [PATCH] update lint --- src/ui/atoms/button/index.tsx | 1 - src/ui/molecules/toast/index.tsx | 5 ++--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/src/ui/atoms/button/index.tsx b/src/ui/atoms/button/index.tsx index ffbcfb89..46493f78 100644 --- a/src/ui/atoms/button/index.tsx +++ b/src/ui/atoms/button/index.tsx @@ -46,7 +46,6 @@ const ButtonBase: React.FC = ({ export const Button = styled(ButtonBase)` ${box} - --local-text-color: var(--woly-shape-text-default); --local-shape-color: var(--woly-shape-default); --local-border-color: var(--woly-shape-default); diff --git a/src/ui/molecules/toast/index.tsx b/src/ui/molecules/toast/index.tsx index b5116623..1bd234d5 100644 --- a/src/ui/molecules/toast/index.tsx +++ b/src/ui/molecules/toast/index.tsx @@ -26,16 +26,15 @@ const ToastBase: React.FC = ({ ); export const Toast = styled(ToastBase)` + ${box} --local-text-color: var(--woly-shape-text-default); --local-shape-color: var(--woly-shape-default); --local-border-color: var(--woly-shape-default); --local-toast-gap: max(9px, calc(1px * var(--woly-component-level) * var(--woly-main-level))); - ${box} - display: flex; - align-items: center; flex-wrap: nowrap; + align-items: center; min-width: fit-content; max-width: 75%;