Skip to content

[CardHeader]: Subtitle text is cut off for some languages #13379

@patrickwang10

Description

@patrickwang10

Describe the bug

The subtitle of the CardHeader control is cut off for text from some languages like Hindi that require more vertical space. This appears to be because of the css style 'max-height: 2.1rem' applied on the subtitle.

Isolated Example

No response

Reproduction steps

  1. Go to https://ui5.github.io/webcomponents-react/v1/?path=/story/data-display-card--default
  2. In dev tools, navigate to 'ui5-card-header-subtitle' class and edit the subtitle text directly in the DOM.
  3. Replace Direct Reports with आपके डिवाइस या फ़ाइल सर्वर से फ़ाइल (xlsx, csv, txt, आदि)
    Can be reproduced in v1 or v2 on the official documentation sample.

Expected Behaviour

The text should not be cut off at the bottom

Screenshots or Videos

Image Image

UI5 Web Components for React Version

1.29.20, v1/v2 from official sample documentation

UI5 Web Components Version

1.24.24, v1/v2 from official sample documentation

Browser

Chrome

Operating System

No response

Additional Context

No response

Relevant log output

Organization

No response

Declaration

  • I’m not disclosing any internal or sensitive information.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions