Skip to content

Commit d9bb3ee

Browse files
LucyChyzhovaKiarokh
authored andcommitted
fix(info-tile): improve icon visualisation when size is extra small
1 parent fee3d08 commit d9bb3ee

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

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

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,7 @@ $l: 62.5rem; //1000px
266266
}
267267

268268
.icon {
269-
opacity: 0.5;
269+
opacity: 0.7;
270270
top: 0.125rem;
271271
right: 0.125rem;
272272
padding: 0.125rem;
@@ -278,6 +278,14 @@ $l: 62.5rem; //1000px
278278
gap: 0.125rem;
279279
}
280280

281+
.value-and-suffix,
282+
.label {
283+
text-shadow:
284+
0 0 1rem var(--info-tile-background-color, rgb(var(--contrast-100))),
285+
0 0 0.5rem
286+
var(--info-tile-background-color, rgb(var(--contrast-100)));
287+
}
288+
281289
.value {
282290
--value-min-size: 0.7rem;
283291
--value-preferred-size: 12cqw;

0 commit comments

Comments
 (0)