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

Admin UI: used fixed column layout #2955

Merged
merged 2 commits into from
May 20, 2020

Conversation

Vultraz
Copy link
Contributor

@Vultraz Vultraz commented May 13, 2020

As says. I'm guessing this might have been the original intention, though I'm not sure. Either way, this gives more consistent spacing.

@changeset-bot
Copy link

changeset-bot bot commented May 13, 2020

🦋 Changeset is good to go

Latest commit: f07f317

We got this.

This PR includes changesets to release 1 package
Name Type
@keystonejs/app-admin-ui Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@timleslie
Copy link
Contributor

I suspect this is fine, but could could you give a quick before/after screenshot showing the impact of the change? Thanks!

@Vultraz
Copy link
Contributor Author

Vultraz commented May 19, 2020

One advantage is the column sizes won't randomly change when deleting an item. Another is more consistent column sizing. For example, before:
image

After:
image

(Ignore the changes to the checkbox column, that's covered by the width: 40px change, I'm grabbing these using the dev console).

Copy link
Contributor

@timleslie timleslie left a comment

Choose a reason for hiding this comment

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

👍

@timleslie timleslie merged commit d2390b7 into keystonejs:master May 20, 2020
@Vultraz Vultraz deleted the admin-ui-fixed-table branch May 20, 2020 00:39
This was referenced May 20, 2020
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