Skip to content

Commit

Permalink
fix (web components): text-field label hidden styles ordering (#16355)
Browse files Browse the repository at this point in the history
* move text-field label__hidden styles below main label styles for proper order

* Change files

Co-authored-by: Seth Donohue <sethdonohue@Admins-MBP.guest.corp.microsoft.com>
  • Loading branch information
SethDonohue and Seth Donohue authored Jan 4, 2021
1 parent 6b777ec commit 887a5e9
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 5 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"type": "patch",
"comment": "move text-field label__hidden styles below main label styles for proper order",
"packageName": "@fluentui/web-components",
"email": "sethdonohue@Admins-MBP.guest.corp.microsoft.com",
"dependentChangeType": "patch",
"date": "2021-01-04T19:24:25.182Z"
}
10 changes: 5 additions & 5 deletions packages/web-components/src/text-field/text-field.styles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,11 +55,6 @@ export const TextFieldStyles = css`
outline: none;
}
.label__hidden {
display: none;
visibility: hidden;
}
.label {
display: block;
color: ${neutralForegroundRestBehavior.var};
Expand All @@ -68,6 +63,11 @@ export const TextFieldStyles = css`
line-height: var(--type-ramp-base-line-height);
margin-bottom: 4px;
}
.label__hidden {
display: none;
visibility: hidden;
}
.start,
.end {
Expand Down

0 comments on commit 887a5e9

Please sign in to comment.