Skip to content
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

[ui5-dialog]: Small icon when dialog title is too long #8762

Closed
1 task done
kozubikmichal opened this issue Apr 15, 2024 · 1 comment · Fixed by #8839
Closed
1 task done

[ui5-dialog]: Small icon when dialog title is too long #8762

kozubikmichal opened this issue Apr 15, 2024 · 1 comment · Fixed by #8839
Assignees
Labels
bug This issue is a bug in the code Medium Prio TOPIC RD

Comments

@kozubikmichal
Copy link

Bug Description

When the dialog title gets truncated because of it's length, the status icon in the dialog header is shrinked

Affected Component

ui5-dialog

Expected Behaviour

Icon stays the same size no matter how long the dialog title is.

Isolated Example

https://stackblitz.com/edit/js-1ndywy?file=index.html

Steps to Reproduce

  1. Open the first dialog with short title - icon size is normal
  2. Open the second dialog with long title - icon is shrinked

Log Output, Stack Trace or Screenshots

image

Priority

None

UI5 Web Components Version

1.24.0

Browser

Chrome

Operating System

No response

Additional Context

No response

Organization

SAP

Declaration

  • I’m not disclosing any internal or sensitive information.
@kozubikmichal kozubikmichal added the bug This issue is a bug in the code label Apr 15, 2024
@dimovpetar dimovpetar self-assigned this Apr 15, 2024
@dimovpetar
Copy link
Contributor

Hello @SAP/ui5-webcomponents-topic-rd ,

flex-shrink: 0 on the icon would help here.

Best regards,
Petar

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug This issue is a bug in the code Medium Prio TOPIC RD
Projects
Status: Completed
Development

Successfully merging a pull request may close this issue.

2 participants