From 454b1c243e4cb7d9b2fdfed6fb8252c6321e3765 Mon Sep 17 00:00:00 2001 From: Electron - Mark Firth Date: Tue, 26 Jun 2018 16:16:50 +1000 Subject: [PATCH 01/10] Tourniquets Text Over 400px to Fix Table Length Issue Fixes table length issue. --- src/renderer/scss/component/_button.scss | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/renderer/scss/component/_button.scss b/src/renderer/scss/component/_button.scss index afa91989c..93a326e6f 100644 --- a/src/renderer/scss/component/_button.scss +++ b/src/renderer/scss/component/_button.scss @@ -66,6 +66,11 @@ button:disabled { min-width: 0; box-shadow: none; text-align: left; +/*Tourniquets text over 400px*/ + max-width: 400px; + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; } .btn.btn--external-link { -- 2.45.2 From b84683160894748adb6d98921e1b5c231fb15b66 Mon Sep 17 00:00:00 2001 From: Electron - Mark Firth Date: Tue, 26 Jun 2018 16:43:44 +1000 Subject: [PATCH 02/10] VW Fixes Responsive Issues Using 400px still breaks if at minimum width. However, using Viewport Width (vw) makes it responsive, thus it works at all sizes without out the need for condition media queries. --- src/renderer/scss/component/_button.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/renderer/scss/component/_button.scss b/src/renderer/scss/component/_button.scss index 93a326e6f..dfb67580e 100644 --- a/src/renderer/scss/component/_button.scss +++ b/src/renderer/scss/component/_button.scss @@ -67,7 +67,7 @@ button:disabled { box-shadow: none; text-align: left; /*Tourniquets text over 400px*/ - max-width: 400px; + max-width: 20vw; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; -- 2.45.2 From 4b282b7050806fa6f632ebd261c41fb255267543 Mon Sep 17 00:00:00 2001 From: Electron - Mark Firth Date: Tue, 26 Jun 2018 16:48:10 +1000 Subject: [PATCH 03/10] Over VW Comment Change Over VW Comment Change --- src/renderer/scss/component/_button.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/renderer/scss/component/_button.scss b/src/renderer/scss/component/_button.scss index dfb67580e..95d397988 100644 --- a/src/renderer/scss/component/_button.scss +++ b/src/renderer/scss/component/_button.scss @@ -66,7 +66,7 @@ button:disabled { min-width: 0; box-shadow: none; text-align: left; -/*Tourniquets text over 400px*/ +/*Tourniquets text over 20VW*/ max-width: 20vw; white-space: nowrap; overflow: hidden; -- 2.45.2 From 689fe25a72884ca8086d3da23b0650d2e2a53662 Mon Sep 17 00:00:00 2001 From: Electron - Mark Firth Date: Tue, 26 Jun 2018 23:40:44 +1000 Subject: [PATCH 04/10] Tourniquets Text Over 20VW to Fix Table Length Issue Same CSS fix as https://github.com/lbryio/lbry-app/pull/1692 --- src/renderer/scss/component/_table.scss | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/renderer/scss/component/_table.scss b/src/renderer/scss/component/_table.scss index 57c5d98d5..31e362158 100644 --- a/src/renderer/scss/component/_table.scss +++ b/src/renderer/scss/component/_table.scss @@ -13,6 +13,11 @@ table.table, tr td:last-of-type, tr th:last-of-type { padding-right: $spacing-vertical * 2/3; +/*Tourniquets text over 20VW*/ + max-width: 20vw; + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; } thead { -- 2.45.2 From c68eaba650b87ad108695649c7b1f5c9e4e16f91 Mon Sep 17 00:00:00 2001 From: Electron - Mark Firth Date: Wed, 27 Jun 2018 01:21:30 +1000 Subject: [PATCH 05/10] Only Affects Help Table table.table--help { td:nth-of-type(1) { color: var(--text-color); font-family: 'metropolis-semibold'; min-width: 130px; } td:nth-of-type(2) { /*Tourniquets text over 20VW*/ max-width: 20vw; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; } } --- src/renderer/scss/component/_table.scss | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/src/renderer/scss/component/_table.scss b/src/renderer/scss/component/_table.scss index 31e362158..b7832afab 100644 --- a/src/renderer/scss/component/_table.scss +++ b/src/renderer/scss/component/_table.scss @@ -13,11 +13,6 @@ table.table, tr td:last-of-type, tr th:last-of-type { padding-right: $spacing-vertical * 2/3; -/*Tourniquets text over 20VW*/ - max-width: 20vw; - white-space: nowrap; - overflow: hidden; - text-overflow: ellipsis; } thead { @@ -85,6 +80,13 @@ table.table--help { font-family: 'metropolis-semibold'; min-width: 130px; } + td:nth-of-type(2) { +/*Tourniquets text over 20VW*/ + max-width: 20vw; + overflow: hidden; + white-space: nowrap; + text-overflow: ellipsis; + } } table.table--transactions { -- 2.45.2 From 2070d9b60221c346d524091d445922756609e8d5 Mon Sep 17 00:00:00 2001 From: YULIUS KURNIAWAN KRISTIANTO Date: Wed, 27 Jun 2018 00:25:54 +0700 Subject: [PATCH 06/10] minor fix url or Uppercase --- src/renderer/component/publishForm/view.jsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/renderer/component/publishForm/view.jsx b/src/renderer/component/publishForm/view.jsx index a92f7b87b..eb5af1336 100644 --- a/src/renderer/component/publishForm/view.jsx +++ b/src/renderer/component/publishForm/view.jsx @@ -368,11 +368,11 @@ class PublishForm extends React.PureComponent {
{__('Thumbnail')}
{uploadThumbnailStatus === THUMBNAIL_STATUSES.API_DOWN ? ( - __('Enter a url for your thumbnail.') + __('Enter a URL for your thumbnail.') ) : ( {__( - 'Upload your thumbnail to spee.ch, or enter the url manually. Learn more about spee.ch ' + 'Upload your thumbnail to spee.ch, or enter the URL manually. Learn more about spee.ch ' )}