-
Notifications
You must be signed in to change notification settings - Fork 973
Ledger Doesn't Handle Long Titles Neatly #13195
Comments
Was thinking about taking this on, but then I see @NejcZdovc got it :) I would motion towards truncating it to n characters and then adding a trailing '...', then adding a title/label property that would show the full value on hover perhaps. Is that what you were thinking? |
@ryanml you can take it, no problem. I was thinking of fixing all of this with css |
@NejcZdovc got it, thanks. I certainly don't want to over-engineer anything if you have a pure CSS solution though. If you're fine with a truncation solution, I'll open a PR, else, maybe we could go over what stylistic change might work for this. Thanks! |
@NejcZdovc this is what I put together here: Truncating at 45 characters was the most sensible limit before it started bleeding over. |
pulling this one into 0.22 based on the triage call |
Description
A Site or YouTube Channel with a sufficiently long title can break the ledger UX.
Steps to Reproduce
Actual result:
"ThePotatoIsAStarchyTuberousCropFromThePerennialSolanumTuberosumOfTheNightshadeFamilyLOL" breaks the ledger layout.
Expected result:
Creator's name should not break the ledger layout.
Reproduces how often:
Always
Brave Version
0.20.42
about:brave info:
Reproducible on current live release:
Yes.
The text was updated successfully, but these errors were encountered: