From 34141b3c31ded5cec8d08bc17060b25b140d5915 Mon Sep 17 00:00:00 2001 From: checktheroads Date: Sun, 3 Jan 2021 00:08:29 -0700 Subject: [PATCH] improve styles --- .../ui/components/greeting/greeting.tsx | 2 +- hyperglass/ui/components/header/title.tsx | 7 +- .../ui/components/markdown/elements.tsx | 67 ++++- .../ui/components/markdown/markdown.tsx | 22 +- hyperglass/ui/package.json | 2 +- hyperglass/ui/yarn.lock | 255 ++++++++---------- 6 files changed, 188 insertions(+), 167 deletions(-) diff --git a/hyperglass/ui/components/greeting/greeting.tsx b/hyperglass/ui/components/greeting/greeting.tsx index 5769278..bab1b62 100644 --- a/hyperglass/ui/components/greeting/greeting.tsx +++ b/hyperglass/ui/components/greeting/greeting.tsx @@ -45,9 +45,9 @@ export const Greeting = (props: TGreeting) => { size="lg" isCentered onClose={handleClose} + isOpen={isOpen.value} motionPreset="slideInBottom" closeOnEsc={web.greeting.required} - isOpen={isOpen.value} closeOnOverlayClick={web.greeting.required}> { don't do this. Without the below fix, the logo will appear gigantic, filling the entire div up to the parent's max-width. The fix is to hard-code a flex-basis width. */ - flexBasis={{ base: '100%', lg: '33%' }} + flexBasis={{ base: '100%', lg: isSafari ? '33%' : '100%' }} mt={[null, isSubmitting.value ? null : 'auto']} {...rest}>