-
Notifications
You must be signed in to change notification settings - Fork 6.8k
fix(popover-edit): incorrect spacing for form field inside popover #17600
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(popover-edit): incorrect spacing for form field inside popover #17600
Conversation
|
IIRC I did that to fix weird layout when there's no heading in the popup. Can you add a screenshot of that use case without the style override? |
|
Updated the description with an "after" screenshot. |
|
Please also add a screenshot with one of the examples that does not have heading text. I think that’s the case that looked really bad with all the extra top padding in the form field. Might be solvable with some negative margins? |
|
That’s it. The space reserved for the label causes a mismatch in vertical spacing above and below. Unfortunately the visual spec I’m working off of is internal or I’d share it. Is there another less objectionable way to fix the spacing issue without overriding the form field styling? |
|
Looks good. Thanks. |
b226075 to
0f6cd05
Compare
For some reason the padding on `mat-form-field` was reset inside the popover edit overlay which made it looked weird. From what I can tell, there's no reason to do this so these changes remove the override.
|
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |



For some reason the padding on
mat-form-fieldwas reset inside the popover edit overlay which made it looked weird. From what I can tell, there's no reason to do this so these changes remove the override.For reference, here's what it looks like at the moment:

