diff --git a/apps/block_scout_web/assets/css/components/_transaction-input.scss b/apps/block_scout_web/assets/css/components/_transaction-input.scss index 12ca615be8..b223efa842 100644 --- a/apps/block_scout_web/assets/css/components/_transaction-input.scss +++ b/apps/block_scout_web/assets/css/components/_transaction-input.scss @@ -1,15 +1,3 @@ -.raw-transaction-input{ - display: none; -} - -.raw-transaction-log-topics{ - display: none; -} - -.raw-transaction-log-data{ - display: none; -} - .transaction-input-text{ white-space: pre; color: black; diff --git a/apps/block_scout_web/assets/js/app.js b/apps/block_scout_web/assets/js/app.js index af52813279..37af158356 100644 --- a/apps/block_scout_web/assets/js/app.js +++ b/apps/block_scout_web/assets/js/app.js @@ -50,4 +50,3 @@ import './lib/token_transfers_toggle' import './lib/async_listing_load' import './lib/tooltip' import './lib/try_api' -import './lib/swappable_item' diff --git a/apps/block_scout_web/assets/js/lib/swappable_item.js b/apps/block_scout_web/assets/js/lib/swappable_item.js deleted file mode 100644 index 866b416299..0000000000 --- a/apps/block_scout_web/assets/js/lib/swappable_item.js +++ /dev/null @@ -1,21 +0,0 @@ -import $ from 'jquery' - -const swapItems = (element, event) => { - const $element = $(element) - const item = $element.parent().closest('[swappable-item]') - const next = item.nextAll('[swappable-item]:first') - - item.hide() - - if (next.length) { - next.show() - } else { - item.parent().find('[swappable-item]:first').show() - } - - return false -} - -$('[swappable-item] [swapper]').on('click', function (event) { - swapItems(this, event) -}) diff --git a/apps/block_scout_web/lib/block_scout_web/templates/transaction/overview.html.eex b/apps/block_scout_web/lib/block_scout_web/templates/transaction/overview.html.eex index 77663a0cec..c6a154f3fd 100644 --- a/apps/block_scout_web/lib/block_scout_web/templates/transaction/overview.html.eex +++ b/apps/block_scout_web/lib/block_scout_web/templates/transaction/overview.html.eex @@ -79,13 +79,7 @@
<%= gettext "Raw Input" %>
-
- -
-
- +
diff --git a/apps/block_scout_web/lib/block_scout_web/templates/transaction_log/index.html.eex b/apps/block_scout_web/lib/block_scout_web/templates/transaction_log/index.html.eex index ec78914866..fe55ab0d42 100644 --- a/apps/block_scout_web/lib/block_scout_web/templates/transaction_log/index.html.eex +++ b/apps/block_scout_web/lib/block_scout_web/templates/transaction_log/index.html.eex @@ -87,13 +87,7 @@
<%= gettext "Topics" %>
-
- -
-
- +
<%= unless is_nil(log.first_topic) do %>
[0] @@ -125,14 +119,7 @@
<%= unless is_nil(log.data) do %> -
- -
- -
- +
<%= log.data %>
<% end %>