Skip to content

Commit

Permalink
fix(core/event-list-item): fix right padding (#859)
Browse files Browse the repository at this point in the history
  • Loading branch information
matthiashader committed Oct 31, 2023
1 parent 28da016 commit f58cc97
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 17 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ $default-event-list-item-height: 2.5rem;
max-height: var(--event-list-item-height, 100%);
white-space: var(--event-list-item-content-white-space, inherit);
overflow: hidden;
padding-inline-end: $small-space;
}

.chevron-icon {
Expand Down
34 changes: 17 additions & 17 deletions packages/core/src/tests/event-list/chevron/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,25 +5,25 @@
-->

<html>
<head>
<head>
<meta charset="utf-8" />
<meta
name="viewport"
content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=5.0"
name="viewport"
content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=5.0"
/>
<title>Stencil Component Starter</title>
</head>
<body>
<ix-event-list chevron>
<ix-event-list-item color="color-primary" disabled
>Text 1</ix-event-list-item
>
<ix-event-list-item color="color-primary">Text 2</ix-event-list-item>
<ix-event-list-item color="color-primary" selected
>Text 3</ix-event-list-item
>
<ix-event-list-item color="color-primary">Text 4</ix-event-list-item>
</ix-event-list>
<script src="http://127.0.0.1:8080/scripts/e2e/load-e2e-runtime.js"></script>
</body>
</head>
<body>
<ix-event-list chevron>
<ix-event-list-item color="color-primary" disabled
>Text 1</ix-event-list-item
>
<ix-event-list-item color="color-primary">Text 2</ix-event-list-item>
<ix-event-list-item color="color-primary" selected
>Text 3</ix-event-list-item
>
<ix-event-list-item color="color-primary">Text 4</ix-event-list-item>
</ix-event-list>
<script src="http://127.0.0.1:8080/scripts/e2e/load-e2e-runtime.js"></script>
</body>
</html>

0 comments on commit f58cc97

Please sign in to comment.