Skip to content

Commit 09d9510

Browse files
committed
fix(info-tile): improve ux when size is extra small
1 parent 9c82a63 commit 09d9510

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

src/components/info-tile/info-tile.scss

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -263,6 +263,36 @@ $l: 62.5rem; //1000px
263263
padding: 0.375rem;
264264
gap: 0.125rem;
265265
}
266+
267+
.icon {
268+
opacity: 0.5;
269+
top: 0.125rem;
270+
right: 0.125rem;
271+
padding: 0.125rem;
272+
--icon-preferred-size: 18cqw;
273+
--icon-max-size: 2rem;
274+
}
275+
276+
.value-group {
277+
gap: 0.125rem;
278+
}
279+
280+
.value {
281+
--value-min-size: 0.7rem;
282+
--value-preferred-size: 12cqw;
283+
--value-max-size: 1rem;
284+
}
285+
286+
.prefix,
287+
.suffix {
288+
--suffix-prefix-min-size: 0.6rem;
289+
--suffix-prefix-preferred-size: 6cqw;
290+
--suffix-prefix-max-size: 0.875rem;
291+
}
292+
293+
.label {
294+
@include mixins.truncate-text-on-line(2);
295+
}
266296
}
267297

268298
@container (width < #{$s}) {

0 commit comments

Comments
 (0)