Skip to content

Commit 8c071a2

Browse files
committed
add tile icon button label styles
1 parent ee8a07b commit 8c071a2

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

dist/custom-card-features.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/classes/custom-feature-button.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -401,6 +401,11 @@ export class CustomFeatureButton extends BaseCustomFeature {
401401
color: var(--icon-color, var(--feature-color));
402402
}
403403
404+
:host(.tile-icon) .label {
405+
position: absolute;
406+
font-size: 10px;
407+
}
408+
404409
:host(.tile-icon) .background::before {
405410
background: var(--color, var(--state-inactive-color));
406411
transition:

0 commit comments

Comments
 (0)