From b4e7b6c20480068c514589b7af1c0ba6f34bb10b Mon Sep 17 00:00:00 2001 From: Jernej Pregelj Date: Thu, 9 May 2019 13:34:17 +0200 Subject: [PATCH] change text --- client/src/components/atoms/AreaButton.module.scss | 7 ++++--- client/src/routes/Publish/index.tsx | 4 ++-- client/src/routes/Publish/loader.tsx | 2 +- 3 files changed, 7 insertions(+), 6 deletions(-) diff --git a/client/src/components/atoms/AreaButton.module.scss b/client/src/components/atoms/AreaButton.module.scss index 097148d..33a12a4 100644 --- a/client/src/components/atoms/AreaButton.module.scss +++ b/client/src/components/atoms/AreaButton.module.scss @@ -5,7 +5,7 @@ word-wrap: break-word; > div { - display: block; + display: flex; height: 100%; padding: $spacer; border: 1px solid $brand-grey-lighter; @@ -26,11 +26,12 @@ img { width: 100px; padding-right: $spacer; - float: left; + object-fit: contain; + align-self: flex-start; } > div { - display: inline; + flex: 1 1 auto; } } diff --git a/client/src/routes/Publish/index.tsx b/client/src/routes/Publish/index.tsx index e69932d..ec6f765 100644 --- a/client/src/routes/Publish/index.tsx +++ b/client/src/routes/Publish/index.tsx @@ -50,13 +50,13 @@ class Publish extends Component<{}, PublishState> { /> this.publishType('workflow')} image={Workflow} /> this.publishType('script')} image={Script} /> diff --git a/client/src/routes/Publish/loader.tsx b/client/src/routes/Publish/loader.tsx index 07631d1..b27c472 100644 --- a/client/src/routes/Publish/loader.tsx +++ b/client/src/routes/Publish/loader.tsx @@ -227,7 +227,7 @@ class Loader extends Component { return ( {(!this.context.isLogged || !this.context.isNile) && (