-
Notifications
You must be signed in to change notification settings - Fork 67
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(card-list): fixed card-list show all ellipsis issue (#1354)
Co-authored-by: Demirci <ridvan.demirci@siemens.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Daniel Leroux <daniel.leroux@siemens.com> Co-authored-by: Lukas Maurer <lukas.maurer@siemens.com>
- Loading branch information
1 parent
1b4da95
commit 938ca56
Showing
7 changed files
with
151 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"@siemens/ix": patch | ||
--- | ||
|
||
fix(core/card-list): card-list show all not getting truncated |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file added
BIN
+16.5 KB
...list-basic-should-show-ellipsis-label-1-chromium---theme-classic-dark-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+16.3 KB
...ist-basic-should-show-ellipsis-label-1-chromium---theme-classic-light-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
127 changes: 127 additions & 0 deletions
127
packages/core/src/tests/card-list/long-label/index.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,127 @@ | ||
<!-- | ||
SPDX-FileCopyrightText: 2024 Siemens AG | ||
SPDX-License-Identifier: MIT | ||
--> | ||
|
||
<html> | ||
<head> | ||
<meta charset="utf-8" /> | ||
<meta | ||
name="viewport" | ||
content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=5.0" | ||
/> | ||
<title>Stencil Component Starter</title> | ||
<style> | ||
ix-action-card { | ||
margin: 1rem; | ||
} | ||
</style> | ||
</head> | ||
<body> | ||
<ix-card-list | ||
label="Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus urna enim, pretium eget vulputate et, finibus et enim. Aliquam luctus metus sit amet sem venenatis bibendum. " | ||
list-style="scroll" | ||
> | ||
<ix-push-card | ||
icon="bulb" | ||
notification="99" | ||
heading="Heading content" | ||
subheading="Subheading" | ||
></ix-push-card> | ||
<ix-push-card | ||
icon="bulb" | ||
notification="99" | ||
heading="Heading content" | ||
subheading="Subheading" | ||
variant="insight" | ||
></ix-push-card> | ||
<ix-push-card | ||
icon="bulb" | ||
notification="99" | ||
heading="Heading content" | ||
subheading="Subheading" | ||
variant="notification" | ||
></ix-push-card> | ||
<ix-push-card | ||
icon="bulb" | ||
notification="99" | ||
heading="Heading content" | ||
subheading="Subheading" | ||
variant="alarm" | ||
></ix-push-card> | ||
<ix-push-card | ||
icon="bulb" | ||
notification="99" | ||
heading="Heading content" | ||
subheading="Subheading" | ||
variant="critical" | ||
></ix-push-card> | ||
<ix-push-card | ||
icon="bulb" | ||
notification="99" | ||
heading="Heading content" | ||
subheading="Subheading" | ||
variant="warning" | ||
></ix-push-card> | ||
<ix-push-card | ||
icon="bulb" | ||
notification="99" | ||
heading="Heading content" | ||
subheading="Subheading" | ||
variant="success" | ||
></ix-push-card> | ||
<ix-push-card | ||
icon="bulb" | ||
notification="99" | ||
heading="Heading content" | ||
subheading="Subheading" | ||
variant="info" | ||
></ix-push-card> | ||
<ix-push-card | ||
icon="bulb" | ||
notification="99" | ||
heading="Heading content End of list" | ||
subheading="Subheading" | ||
variant="neutral" | ||
></ix-push-card> | ||
<ix-push-card | ||
icon="bulb" | ||
notification="99" | ||
heading="Heading content End of list" | ||
subheading="Subheading" | ||
variant="neutral" | ||
></ix-push-card> | ||
<ix-push-card | ||
icon="bulb" | ||
notification="99" | ||
heading="Heading content End of list" | ||
subheading="Subheading" | ||
variant="neutral" | ||
></ix-push-card> | ||
<ix-push-card | ||
id="end" | ||
icon="bulb" | ||
notification="99" | ||
heading="Heading content End of list" | ||
subheading="Subheading" | ||
variant="neutral" | ||
></ix-push-card> | ||
<ix-push-card | ||
icon="bulb" | ||
notification="99" | ||
heading="Heading content" | ||
subheading="Subheading" | ||
variant="success" | ||
></ix-push-card> | ||
<ix-push-card | ||
icon="bulb" | ||
notification="99" | ||
heading="Heading content" | ||
subheading="Subheading" | ||
variant="primary" | ||
></ix-push-card> | ||
</ix-card-list> | ||
<script src="http://127.0.0.1:8080/scripts/e2e/load-e2e-runtime.js"></script> | ||
</body> | ||
</html> |