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: better implementation of grid layout #5564

Merged
merged 3 commits into from
Jun 5, 2023
Merged

Conversation

365cent
Copy link
Contributor

@365cent 365cent commented Jun 4, 2023

The current "browse" listings grid layout is encountering a display problem where the last line of displayed files tends to occupy the entire line, leading to incorrect alignment. I have attempted to address this issue using grid layout, the effects of which can be seen in the record 2. Each file is now better aligned and displays more appropriately across various screen aspect ratios.Thank you for your consideration.

Current (With flex layout)

Capture d’écran, le 2023-06-04 à 17 55 21

Record 1:
https://github.com/caddyserver/caddy/assets/74791570/4744ba80-dcbf-4a42-9ec1-5f992b8c58c6

Updated (With grid layout)

Capture d’écran, le 2023-06-04 à 17 55 10

Record 2:

Enregistrement.d.ecran.le.2023-06-04.a.17.58.20.mov

@CLAassistant
Copy link

CLAassistant commented Jun 4, 2023

CLA assistant check
All committers have signed the CLA.

@mholt
Copy link
Member

mholt commented Jun 5, 2023

Thanks! I could never quite wrap my head around grid. Looking forward to using this.

@mholt mholt added this to the v2.7.0 milestone Jun 5, 2023
@mholt mholt enabled auto-merge (squash) June 5, 2023 04:28
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.

4 participants