- ๐ฎ๐ณIndia gauravvvv Delhi, India
Gauravvv โ made their first commit to this issueโs fork.
- First commit to issue fork.
- @royalpinto007 opened merge request.
- Status changed to Needs work
almost 2 years ago 10:52am 15 February 2023 - ๐ฎ๐ณIndia royalpinto007
This change ensures that the margin of the node__submitted class only affects the top margin, which can improve consistency and readability. By using margin-top instead of margin, we can also reduce the potential for unintended side effects or conflicting styles that may arise from using the shorthand margin property.
- ๐บ๐ธUnited States hot_sauce
@royalpinto007
Switching to
margin-top
negates the bottom margin being set, which is needed, and also sets an inherited margin for the side margins, which may be need to be set as 0.We could refactor this to use:
margin-block: 1em; margin-inline: 0;
But that is the same as what this file has currently of
margin: 1em 0
I think the shorthand for this file is fine and there may not be any actual changes needed here.
- ๐ฎ๐ณIndia gauravvvv Delhi, India
I think the shorthand for this file is fine and there may not be any actual changes needed here.
I agree with @hotsaucedesign here. This file doesn't need any modifications. It's already using shorthand property.
- Status changed to Closed: works as designed
over 1 year ago 2:43pm 22 February 2023 - ๐บ๐ธUnited States hot_sauce
Thank you @Gauravvv, will mark this one as Closed (works as designed)