Skip to content

Commit

Permalink
fix(field): keep label in same spot when resizing
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 547572280
  • Loading branch information
asyncLiz authored and copybara-github committed Jul 12, 2023
1 parent cf2dc2c commit e1f8819
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions field/lib/_label.scss
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,7 @@

.label.resting {
position: absolute;
top: 50%;
transform: translateY(-50%);
top: var(--_top-space);
}

.label.floating {
Expand Down

0 comments on commit e1f8819

Please sign in to comment.