From bb0436d0ee0a60117864bae907865ee09bf52046 Mon Sep 17 00:00:00 2001 From: Sean Yesmunt Date: Tue, 2 Jul 2019 00:22:13 -0400 Subject: [PATCH] fix: empty recent tx list styling --- src/ui/component/transactionList/view.jsx | 2 +- src/ui/scss/component/_main.scss | 4 ++-- src/ui/scss/component/_table.scss | 4 ++++ static/locales/en.json | 4 +--- 4 files changed, 8 insertions(+), 6 deletions(-) diff --git a/src/ui/component/transactionList/view.jsx b/src/ui/component/transactionList/view.jsx index ca3ba5172..06ce95e38 100644 --- a/src/ui/component/transactionList/view.jsx +++ b/src/ui/component/transactionList/view.jsx @@ -121,7 +121,7 @@ class TransactionList extends React.PureComponent { )} {!loading && !transactionList.length && ( -

{emptyMessage || __('No transactions.')}

+

{emptyMessage || __('No transactions.')}

)} {!!transactionList.length && ( diff --git a/src/ui/scss/component/_main.scss b/src/ui/scss/component/_main.scss index f996e5a0e..d0f1e476d 100644 --- a/src/ui/scss/component/_main.scss +++ b/src/ui/scss/component/_main.scss @@ -78,8 +78,8 @@ align-items: center; display: flex; flex-direction: column; - padding-top: 100px; - padding-bottom: 100px; + margin-top: 100px; + margin-bottom: 100px; text-align: center; } diff --git a/src/ui/scss/component/_table.scss b/src/ui/scss/component/_table.scss index df0dbab62..6e251accf 100644 --- a/src/ui/scss/component/_table.scss +++ b/src/ui/scss/component/_table.scss @@ -18,6 +18,10 @@ table, } } +.table--empty { + // padding: var(--spacing-large); +} + td { overflow: hidden; } diff --git a/static/locales/en.json b/static/locales/en.json index 1e077b038..8cbfde76f 100644 --- a/static/locales/en.json +++ b/static/locales/en.json @@ -473,8 +473,6 @@ "Editing": "Editing", "Edit Your Channel": "Edit Your Channel", "Editing Your Channel": "Editing Your Channel", - "We can explain... We know this page won't win any design awards, we have a cool idea for channel edits in the future. We just wanted to release a very very very basic version that just barely kinda works so people can use it.": "We can explain... We know this page won't win any design awards, we have a cool idea for channel edits in the future. We just wanted to release a very very very basic version that just barely kinda works so people can use it.", - "We can explain... \n\n We know this page won't win any design awards, we have a cool idea for channel edits in the future. We just wanted to release a very very very basic version that just barely kinda works so people can use it.": "We can explain... \n\n We know this page won't win any design awards, we have a cool idea for channel edits in the future. We just wanted to release a very very very basic version that just barely kinda works so people can use it.", "We can explain...": "We can explain...", "We know this page won't win any design awards, we have a cool idea for channel edits in the future. We just wanted to release a very very very basic version that just barely kinda works so people can use": "We know this page won't win any design awards, we have a cool idea for channel edits in the future. We just wanted to release a very very very basic version that just barely kinda works so people can use", "We know this page won't win any design awards, we just wanted to release a very very very basic version that just barely kinda works so people can use": "We know this page won't win any design awards, we just wanted to release a very very very basic version that just barely kinda works so people can use", @@ -484,4 +482,4 @@ "Filter": "Filter", "Rendering document.": "Rendering document.", "Sorry, looks like we can't load the document.": "Sorry, looks like we can't load the document." -} \ No newline at end of file +}