mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-25 18:26:35 +00:00
Fix typo & layout in ha-assist-chip (#23785)
* fix typo fot slot name * make font-size same as for label * remove unneeded margin-top
This commit is contained in:
parent
85e4975206
commit
89e9316a40
@ -33,9 +33,10 @@ export class HaAssistChip extends MdAssistChip {
|
|||||||
}
|
}
|
||||||
/** Set the size of mdc icons **/
|
/** Set the size of mdc icons **/
|
||||||
::slotted([slot="icon"]),
|
::slotted([slot="icon"]),
|
||||||
::slotted([slot="trailingIcon"]) {
|
::slotted([slot="trailing-icon"]) {
|
||||||
display: flex;
|
display: flex;
|
||||||
--mdc-icon-size: var(--md-input-chip-icon-size, 18px);
|
--mdc-icon-size: var(--md-input-chip-icon-size, 18px);
|
||||||
|
font-size: var(--_label-text-size) !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.trailing.icon ::slotted(*),
|
.trailing.icon ::slotted(*),
|
||||||
|
@ -92,7 +92,6 @@ export class HuiButtonsBase extends LitElement {
|
|||||||
color: var(--secondary-text-color);
|
color: var(--secondary-text-color);
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
margin-top: -2px;
|
|
||||||
}
|
}
|
||||||
@media all and (max-width: 450px), all and (max-height: 500px) {
|
@media all and (max-width: 450px), all and (max-height: 500px) {
|
||||||
.ha-scrollbar {
|
.ha-scrollbar {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user