diff --git a/src/eventViewer.js b/src/eventViewer.js
index d0b757c..44ec7ff 100644
--- a/src/eventViewer.js
+++ b/src/eventViewer.js
@@ -70,19 +70,30 @@ const EventViewer = (obj) => {
}
+ let searchTermText;
+ if (searchTerm !== "") {
+ if (searchTerm.length > 15) {
+ searchTermText =
Only showing addresses containing {searchTerm.substring(0, 15)}...
+ } else {
+ searchTermText = Only showing addresses containing {searchTerm}
+ }
+ } else {
+ searchTermText = Filter by Orchestrator address
+ }
+
return (
-
+
{showLessBlock}
-
+
Showing {maxAmount} results
{showMoreBlock}
-
{searchTerm !== "" ? ("Only showing addresses containing " + searchTerm) : "Filter by Orchestrator address"}
+ {searchTermText}
setSearchTerm(evt.target.value)}
diff --git a/src/livepeer.js b/src/livepeer.js
index 4cef6c0..ee23984 100644
--- a/src/livepeer.js
+++ b/src/livepeer.js
@@ -138,7 +138,7 @@ const Livepeer = (obj) => {
-
+
Smart contract prices
diff --git a/src/style.css b/src/style.css
index 0e042ad..b56f841 100644
--- a/src/style.css
+++ b/src/style.css
@@ -335,7 +335,7 @@ svg {
}
.nonHomeButton{
cursor: pointer;
- padding: 8px;
+ padding: 0.1em;
border: 0;
border-radius: 20px;
background-color: transparent;