Skip to content

(docs): Move CSS Logical Properties to separate table#1454

Merged
lachlanjc merged 2 commits intodevelopfrom
docs-separate-logical
Jan 27, 2021
Merged

(docs): Move CSS Logical Properties to separate table#1454
lachlanjc merged 2 commits intodevelopfrom
docs-separate-logical

Conversation

@lachlanjc
Copy link
Copy Markdown
Member

@lachlanjc lachlanjc commented Jan 19, 2021

As discussed when the list was added, the logical properties makes the table super long, so I’ve summarized them & moved them into a details tag.

Preview live: https://theme-ui-git-docs-separate-logical.systemui.vercel.app/sx-prop

@lachlanjc lachlanjc added the affects-docs Changes affect documentation, but not only documentation label Jan 19, 2021
@lachlanjc lachlanjc requested a review from hasparus as a code owner January 19, 2021 16:49
@vercel
Copy link
Copy Markdown

vercel Bot commented Jan 19, 2021

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/systemui/theme-ui/2hfl68133
✅ Preview: https://theme-ui-git-docs-separate-logical.systemui.vercel.app

[Deployment for 1a18685 failed]

Copy link
Copy Markdown
Collaborator

@atanasster atanasster left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great job!!!

Comment thread packages/docs/src/pages/sx-prop.mdx Outdated
Copy link
Copy Markdown
Member

@hasparus hasparus left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Comment thread packages/docs/src/pages/sx-prop.mdx Outdated
import { Box } from 'theme-ui'

<Box
;<Box
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
;<Box
<Box

Comment thread packages/docs/src/pages/sx-prop.mdx Outdated

# Hello

# Hello
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wait, this doesn't work, does it?

If you don't wrap markdown in empty lines you're still in JSX, so this won't render a heading, and that # is just printed. I mean, I know that's just a code snippet in the docs, but still.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You're correct, I believe. I guess we'll just counter Prettier here & figure out how to avoid it in the future.

@lachlanjc lachlanjc merged commit 5e6a10e into develop Jan 27, 2021
@lachlanjc lachlanjc deleted the docs-separate-logical branch January 27, 2021 02:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

affects-docs Changes affect documentation, but not only documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants