Skip to content

Commit 5c51dc6

Browse files
authored
fix(ui5-li): correct image size
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
1 parent 00f5ab5 commit 5c51dc6

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

packages/main/src/themes/ListItem.css

+6
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,12 @@
116116
padding-right: 0.5rem;
117117
}
118118

119+
:host([description]) .ui5-li-img {
120+
width: 3rem;
121+
height: 3rem;
122+
border-radius: 0.25rem;
123+
}
124+
119125
.ui5-li-content {
120126
display: flex;
121127
align-items: center;

0 commit comments

Comments
 (0)