mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-24 09:46:36 +00:00
Fix alignment of float label (#13958)
This commit is contained in:
parent
e2a89b1157
commit
200fff506c
@ -86,7 +86,10 @@ export class HaTextField extends TextFieldBase {
|
||||
text-overflow: ellipsis;
|
||||
width: inherit;
|
||||
padding-right: 30px;
|
||||
padding-inline-end: 30px;
|
||||
padding-inline-start: initial;
|
||||
box-sizing: border-box;
|
||||
direction: var(--direction);
|
||||
}
|
||||
|
||||
input {
|
||||
@ -118,7 +121,7 @@ export class HaTextField extends TextFieldBase {
|
||||
inset-inline-end: initial !important;
|
||||
transform-origin: var(--float-start);
|
||||
direction: var(--direction);
|
||||
transform-origin: var(--float-start);
|
||||
text-align: var(--float-start);
|
||||
}
|
||||
|
||||
.mdc-text-field--with-leading-icon.mdc-text-field--filled
|
||||
|
Loading…
x
Reference in New Issue
Block a user