Skip to content
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

Add paddingBlock/Inline and generic marginBlock/Inline properties #549

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

dzuk-mutant
Copy link

@dzuk-mutant dzuk-mutant commented Nov 16, 2021

Adds properties from the padding-block and padding-inline group for creating paddings that are relative to reading direction.

paddingBlock (px 10)

paddingBlock2 (px 10) (px 10)

paddingBlockStart (px 10)

paddingBlockEnd (px 10)

paddingInline (px 10)

paddingInline2 (px 10) (px 10)

paddingInlineStart (px 10)

paddingInlineEnd (px 10)

Also adds implementations of margin-inline and margin-block since the specific start and end versions were already made but the broad one-liner versions were not.

marginBlock (px 10)

marginBlock2 (px 10) (px 10)

marginInline (px 10)

marginInline2 (px 10) (px 10)

@dzuk-mutant dzuk-mutant changed the title Add padding-block properties Add paddingBlock properties Nov 16, 2021
Adds the following properties:
- padding-inline (1 and 2 argument versions)
- padding-inline-start
- padding-inline-end

Also adds generic versions of margin-block and margin-inline in both 1 and 2-argument versions.
@dzuk-mutant dzuk-mutant changed the title Add paddingBlock properties Add paddingBlock/Inline and generic marginBlock/Inline properties Nov 16, 2021
Forgot to add documentation declarations for the new functions >.<
@Confidenceman02
Copy link
Contributor

@rtfeldman Any reason this was not merged? Would be a nice one to have IMO.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants