-
Notifications
You must be signed in to change notification settings - Fork 121
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
Handle splitting of long URLs so that the overall text occupies space per configuration #68
Comments
Yes, set word-break: break-all.
…On Mon, Apr 17, 2023 at 12:06 AM Peter Belbin ***@***.***> wrote:
I have seen some cases where a long URL is limiting the increase of font
size because it is not being split. If the URL were able to be broken up,
then the text would grow in font size to be larger, to fill the available
box space.
Can this be accommodated?
—
Reply to this email directly, view it on GitHub
<#68>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAJEKPZRPF6GNPEN5CGEALLXBS6URANCNFSM6AAAAAAXATSLNQ>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
Thank you for the tip! OK, but, if you do that to the entire element, then every word in the paragraph, for example, get's treated that way. It would be really good if there was a flag that enables the ability to automagically identify portions of the displayed content that is a URL over a certain size, and if found, wrap that with a 'span' that itself has the 'word-break: break-all' style, so that only the URL has that, not everything. But, perhaps that's something that will be expected to be handled externally. |
That's just not what this library does. But you could do it yourself and it
won't conflict.
…On Fri, Apr 21, 2023 at 9:18 AM Peter Belbin ***@***.***> wrote:
OK, but, if you do that to the entire element, then *every* word in the
paragraph, for example, get's treated that way. It would be really good if
there was a flag that enables the ability to automagically identify
portions of the displayed content that is a URL over a certain size, and if
found, wrap that with a 'span' that itself has the 'word-break: break-all'
style, so that only the URL has that, not *everything*. But, perhaps
that's something that will be expected to be handled externally.
—
Reply to this email directly, view it on GitHub
<#68 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAJEKPYP2K2RG5KK6PYNH43XCKCLBANCNFSM6AAAAAAXATSLNQ>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
I have seen some cases where a long URL is limiting the increase of font size because it is not being split. If the URL were able to be broken up, then the text would grow in font size to be larger, to fill the available box space.
Can this be accommodated?
The text was updated successfully, but these errors were encountered: