Skip to content

Commit

Permalink
fix(ui5-li): correct image size
Browse files Browse the repository at this point in the history
When ui5-li has image and byline (description), the image should have 3rem height and 3rem width in Compact and Cozy mode. In addition its angles should be rounded.

Part of #2218
  • Loading branch information
nnaydenow committed Oct 2, 2020
1 parent 00f5ab5 commit 5c51dc6
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions packages/main/src/themes/ListItem.css
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,12 @@
padding-right: 0.5rem;
}

:host([description]) .ui5-li-img {
width: 3rem;
height: 3rem;
border-radius: 0.25rem;
}

.ui5-li-content {
display: flex;
align-items: center;
Expand Down

0 comments on commit 5c51dc6

Please sign in to comment.