Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Line numbers in contracts source code are not preserved #327

Open
Romsters opened this issue Nov 25, 2024 · 0 comments
Open

Line numbers in contracts source code are not preserved #327

Romsters opened this issue Nov 25, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@Romsters
Copy link
Collaborator

🐛 Bug Report

Contracts source code is displayed with ignorance of line numbers. On different screen resolutions the same source code might have different total lines occupied.

🔄 Reproduction Steps

Check https://sepolia.explorer.zksync.io/address/0x0000000000000000000000000000000000000000#contract. Notice the first file has 15 lines numbered and occupies exactly these 15 lines, now change resolution to 480px and notice that now the code takes more lines.

🤔 Expected Behavior

The number of lines occupied by contract source code should be static and always the same, horizontal scroll should be shown.

😯 Current Behavior

The number of lines occupied by contract source code is different based on resolution.

@Romsters Romsters added the bug Something isn't working label Nov 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant