Closed (won't fix)
Project:
ZURB Foundation
Version:
8.x-6.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
7 Jul 2020 at 11:57 UTC
Updated:
6 Jan 2021 at 21:39 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
gauravvvv commentedI have provided the patch please verify if it is working or not.
Comment #3
gauravvvv commentedComment #4
gauravvvv commentedI have provided the patch please verify if it is working or not.
Comment #5
gauravvvv commentedComment #6
gauravvvv commentedI have provided the patch please verify if it is working or not.
Comment #7
sim_1Hi @Gauravmahlawat, thank you for writing up this issue and creating a patch.
I agree that non-breaking text doesn't look good. But I'm not sure if it makes sense for us hard-code in styles that aren't: a) used in base core themes or b) directly related to styles that Zurb Foundation offers. Especially since we'd be assuming this is the behavior people want for all
.field-item alinks.I'm 100% open to other opinions! I'm just a little wary of adding CSS that would have to be overwritten in sub-themes.
Comment #8
gauravvvv commented@sim_1 Yes, I agree this is not the correct way to add .field-item a, but we can do global styling by applying CSS properties on link tags, If we are showing a link to the user then it should be shown fully. That was the main reason I made this an issue.
Comment #9
gauravvvv commentedHello @sim_1 that was not a correct way to avoid overflow, but we can use body {overflow-wrap: break-word;}. Here I have provided a patch please review if it is working or not. Additionally adding a after patch screenshot for reference.
Comment #10
gauravvvv commentedComment #11
sim_1Thank you for your work on this, but I am marking this as closed and won't fix for now. My reasoning is that this is default behavior for CSS, and not an issue caused by the Foundation theme.