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(theme): home features section layout consistent #2382

Merged
merged 3 commits into from May 19, 2023

Conversation

zonemeen
Copy link
Collaborator

close #2318

@zonemeen
Copy link
Collaborator Author

@brc-dd And when the length is one, should it be set to grid-1? Like this:

image

Otherwise it is like this:

image

I think it is more reasonable to set the style as grid-1 when the length is one.

@brc-dd
Copy link
Member

brc-dd commented May 19, 2023

Yeah for length = 1, grid-1 seems fine.

@zonemeen
Copy link
Collaborator Author

Yeah, I have resubmitted the code.😀

@brc-dd
Copy link
Member

brc-dd commented May 19, 2023

Removed the grid-1 thing, because there is no CSS corresponding to that -- it is the default behavior. We just need to make sure to not apply grid-4 on that case. Updated the condition accordingly.

@brc-dd brc-dd merged commit 26f21d9 into vuejs:main May 19, 2023
8 checks passed
@zonemeen zonemeen deleted the feat/home-feature branch May 19, 2023 08:23
@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 27, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Home Page/Features Section: layout is inconsistent
2 participants