SAP / ui5-webcomponents

UI5 Web Components - the enterprise-flavored sugar on top of native APIs! Build SAP Fiori user interfaces with the technology of your choice.
https://sap.github.io/ui5-webcomponents/
Apache License 2.0
1.46k stars 253 forks source link

[Link]: when the link wraps, there is too much space between the text and the icon #9210

Open ilhan007 opened 2 weeks ago

ilhan007 commented 2 weeks ago

Bug Description

There is too much space between the text and the icon of the Link, when the text wraps, almost like the icon is not part of the Link:

Screenshot 2024-06-13 at 15 34 55

I would have expected to get it just after the text. Could you check this?

Some thing like this maybe?:

Screenshot 2024-06-13 at 15 35 50

Affected Component

No response

Expected Behaviour

No response

Isolated Example

No response

Steps to Reproduce

  1. Open the sample https://sap.github.io/ui5-webcomponents/nightly/components/Link/#text-truncation-and-wrapping
  2. Add end-idon to the link that wraps
  3. Observe the icon position Screenshot 2024-06-13 at 15 34 55

Log Output, Stack Trace or Screenshots

No response

Priority

None

UI5 Web Components Version

main branch

Browser

Chrome

Operating System

No response

Additional Context

No response

Organization

No response

Declaration

ilhan007 commented 2 weeks ago

Hello @SAP/ui5-webcomponents-topic-b we have received some feedback on the last feature we have added to the Link - about the icon placement while the Link text is wrapping. Could you have a look?