diff --git a/src/components/OrchAddressViewer.js b/src/components/OrchAddressViewer.js index 5dee54f..66aa0fb 100644 --- a/src/components/OrchAddressViewer.js +++ b/src/components/OrchAddressViewer.js @@ -9,11 +9,11 @@ const Address = (obj) => { let thisInfo = null; const now = new Date().getTime(); // Lookup domain in cache - if (livepeer.ensDomainMapping){ - for (const thisAddr of livepeer.ensDomainMapping) { - if (thisAddr.address === obj.address) { - thisDomain = thisAddr; - // Check timeout + if (livepeer.ensDomainMapping) { + for (const thisAddr of livepeer.ensDomainMapping) { + if (thisAddr.address === obj.address) { + thisDomain = thisAddr; + // Check timeout if (now - thisAddr.timestamp < 86400000) { break; } @@ -61,17 +61,13 @@ const Address = (obj) => { thisName = thisInfo.domain; if (thisInfo.avatar) { thisIcon = - -
- -
+
+ } else { thisIcon = - -
- -
+
+ } } else { @@ -81,10 +77,8 @@ const Address = (obj) => { return (
- -
- -
+
+ {thisIcon} {thisName} diff --git a/src/components/OrchInfoViewer.js b/src/components/OrchInfoViewer.js index 3a2e468..f21a45f 100644 --- a/src/components/OrchInfoViewer.js +++ b/src/components/OrchInfoViewer.js @@ -101,11 +101,11 @@ const OrchInfoViewer = (obj) => { } if (thisInfo.url) { ensUrl = - -
- {thisInfo.url} -
-
+ +
+ {thisInfo.url} +
+
} } @@ -114,10 +114,10 @@ const OrchInfoViewer = (obj) => {
- -

Orchestrator Info

-
- +

Orchestrator Info

+
+
+
{ensUrl} {ensDescription} diff --git a/src/components/eventButtonAddress.js b/src/components/eventButtonAddress.js index e22eccc..a15f26f 100644 --- a/src/components/eventButtonAddress.js +++ b/src/components/eventButtonAddress.js @@ -65,12 +65,12 @@ const EventButtonAddress = (obj) => { thisName =

{thisInfo.domain}

; if (thisInfo.avatar) { thisIcon = - + } else { thisIcon = - + } @@ -81,10 +81,10 @@ const EventButtonAddress = (obj) => { return (
- {thisIcon} - + + {thisIcon} diff --git a/src/style.css b/src/style.css index ab04aaa..2db8ac3 100644 --- a/src/style.css +++ b/src/style.css @@ -59,7 +59,6 @@ h2, h3, h1, h4, h5, h6 { white-space: nowrap; display: block; text-overflow: ellipsis; - width: 100%; } p {