Skip to content

Commit

Permalink
Merge pull request #300 from element-hq/florianduros/align-visualist
Browse files Browse the repository at this point in the history
Align element in VisualList component
  • Loading branch information
florianduros authored Dec 23, 2024
2 parents 237739a + 5178147 commit 9d32405
Show file tree
Hide file tree
Showing 7 changed files with 3 additions and 0 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions src/components/VisualList/VisualListItem.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
padding: var(--cpd-space-3x) var(--cpd-space-4x);
background-color: var(--cpd-color-bg-subtle-secondary);
font: var(--cpd-font-body-md-medium);
align-items: center;
}

.visual-list-item-icon {
Expand Down
1 change: 1 addition & 0 deletions src/components/VisualList/VisualListItem.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -53,4 +53,5 @@ export const Multiline = Template.bind({});
Multiline.args = {
children:
"List item with a looooooooooong very looooooooooong loooooooooooooong description",
style: { alignItems: "start" },
};
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ exports[`VisualListItem > renders a Multiline VisualListItem 1`] = `
<div>
<li
class="_visual-list-item_1553df"
style="align-items: start;"
>
<svg
aria-hidden="true"
Expand Down

0 comments on commit 9d32405

Please sign in to comment.