From f17920fe1dace36c6be677feb1f0c689e34ffd10 Mon Sep 17 00:00:00 2001 From: Ayrat Badykov Date: Fri, 19 Apr 2019 14:55:06 +0300 Subject: [PATCH 1/3] fix line numbers for decompiled contracts --- apps/block_scout_web/assets/css/_code.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/block_scout_web/assets/css/_code.scss b/apps/block_scout_web/assets/css/_code.scss index e466993e55..8f07c9f38d 100644 --- a/apps/block_scout_web/assets/css/_code.scss +++ b/apps/block_scout_web/assets/css/_code.scss @@ -14,7 +14,7 @@ pre { .pre-decompiled code::before { content: counter(line); display: inline-block; - width: 2.5em; /* Fixed width */ + width: 3.5em; /* Fixed width */ border-right: 1px solid #ddd; padding: 0 .5em; margin-right: .5em; From 7ec8d827b66491995d7c91f87fc787084f2580f5 Mon Sep 17 00:00:00 2001 From: Ayrat Badykov Date: Fri, 19 Apr 2019 14:56:53 +0300 Subject: [PATCH 2/3] add changelog entry --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 99dc22475f..a66d63fdb3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -18,6 +18,7 @@ - [#1769](https://github.com/poanetwork/blockscout/pull/1769) - add timestamp to block overview - [#1768](https://github.com/poanetwork/blockscout/pull/1768) - fix first block parameter - [#1778](https://github.com/poanetwork/blockscout/pull/1778) - Make websocket optional for realtime fetcher + - [#1795](https://github.com/poanetwork/blockscout/pull/1795) - fix line numbers for decompiled contracts ### Chore From 1e7f03f9100e69b9d3be88d6e465d05256de3131 Mon Sep 17 00:00:00 2001 From: Ayrat Badykov Date: Fri, 19 Apr 2019 15:04:31 +0300 Subject: [PATCH 3/3] mak width dynamic --- apps/block_scout_web/assets/css/_code.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/block_scout_web/assets/css/_code.scss b/apps/block_scout_web/assets/css/_code.scss index 8f07c9f38d..a3c4f5823c 100644 --- a/apps/block_scout_web/assets/css/_code.scss +++ b/apps/block_scout_web/assets/css/_code.scss @@ -14,7 +14,7 @@ pre { .pre-decompiled code::before { content: counter(line); display: inline-block; - width: 3.5em; /* Fixed width */ + width: flex; border-right: 1px solid #ddd; padding: 0 .5em; margin-right: .5em;