Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit d185b57

Browse files
committed
Edit readme
1 parent 0becb3a commit d185b57

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

‎README.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,10 +54,13 @@ export default createGrid(CustomGrid)
5454

5555
## How it works
5656

57-
The Grid component creates CSS rules based on props and insert that string into an inline style tag. The component only creates the rules it needs for itself, however other Grid components may generate duplicative styles of their own.
57+
The Grid component uses `display: inline-block` to create grid layouts.
58+
It creates CSS rules based on props and inserts that string into an inline style tag.
59+
The component only creates the rules it needs for itself,
60+
however other Grid components may generate duplicative styles of their own.
5861

5962
## Caveats
60-
- Produces an inline style tag within the body
63+
- Produces an inline style **tag** within the body (e.g. not inline styles)
6164
- Similar component instances create duplicative CSS rules – this may or may not affect performance
6265
- Atomic class selectors are global
6366

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /