-
Notifications
You must be signed in to change notification settings - Fork 113
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
fix: preserve line numbers in contracts #332
fix: preserve line numbers in contracts #332
Conversation
API E2E Test Results207 tests 207 ✅ 19s ⏱️ Results for commit b5760f9. ♻️ This comment has been updated with latest results. |
Unit Test Results 4 files 263 suites 11m 10s ⏱️ Results for commit b5760f9. ♻️ This comment has been updated with latest results. |
Visit the preview URL for this PR: |
@Romsters PTAL |
8a56ada
to
668e8d5
Compare
ebbf246
to
b5760f9
Compare
🎉 This PR is included in version 2.56.1 🎉 The release is available on:
Your semantic-release bot 📦🚀 |
fix: preserve line numbers in contracts (matter-labs#332)
What ❔
This PR preserves the lines and line numbers in contract view, so that the code lines don't break into the next line on smaller screens.
When the screen is smaller, the lines are horizontally scrollable.
Why ❔
PR ensures that the line number always corresponds to the correct line. Previously, on smaller screens, lines would break to the next line, causing a mismatch between lines and line numbers.
This is a fix for this issue:
#327
Checklist