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

feat(react-app): add grid layout #35

Merged
merged 1 commit into from Feb 8, 2019
Merged

feat(react-app): add grid layout #35

merged 1 commit into from Feb 8, 2019

Conversation

Keith-CY
Copy link
Collaborator

@Keith-CY Keith-CY commented Feb 7, 2019

No description provided.

grid-area: header;
}

aside {
Copy link
Contributor

Choose a reason for hiding this comment

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

Will header and aside style affect other parts of the HTMl? Say if for some feature we add another header on some part of the main content, do they apply these grid style as general CSS rules?

Copy link
Collaborator Author

@Keith-CY Keith-CY Feb 9, 2019

Choose a reason for hiding this comment

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

The grid property only works when header's parent is set to display: grid so when we add a header in a section the grid-area: header doesn't work.

Copy link
Contributor

Choose a reason for hiding this comment

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

Wonderful!

@ashchan ashchan merged commit 7415cbf into nervosnetwork:develop Feb 8, 2019
@Keith-CY Keith-CY deleted the add-grid-layout branch February 11, 2019 12:54
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.

None yet

2 participants