Replies: 1 comment 1 reply
-
I very much like this idea. Can we do this with CSS @willemvb ? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
When the Ray app is displaying what has been sent to it it also shows the file and the line number.
Together, that string can be loooong:
The default width of the app can't fit that long string, and it shows the first part:
Because the last part is hidden behind the viewport (and there is no vertical scroll, thank goodness).
The problem is that the last part is what actually the most important - because it shows where exactly the
ray()
call has been triggered.I suggest to display the last part by default, something like this:
And the first part will expand when the Ray window width is increased. Similar to how
text-overflow: ellipsis;
CSS property works, but ellipsis at the beginning of the string. It's possible to do that even with pure CSS.The URL of that link should still be the full path, so click to open in the IDE will work the same.
Beta Was this translation helpful? Give feedback.
All reactions