AbhijithB
AbhijithB
KPCKevin Powell - Community
Created by AbhijithB on 9/10/2024 in #front-end
Why aren't the margins collapsing?
Also, any guess as to why MUI decided to make the TextField component inline-flex. Is it because the HTML input element is inline-block by default?
6 replies
KPCKevin Powell - Community
Created by AbhijithB on 9/10/2024 in #front-end
Why aren't the margins collapsing?
Understood. Thanks.
6 replies
KPCKevin Powell - Community
Created by AbhijithB on 9/10/2024 in #front-end
Why aren't the margins collapsing?
Oh okay, understood. Thank you. One more question. How come inline-flex elements can have vertical margins even though they behave like an inline-level element?
6 replies