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

Bump lego-editor #4997

Merged
merged 7 commits into from
Oct 2, 2024
Merged

Bump lego-editor #4997

merged 7 commits into from
Oct 2, 2024

Conversation

Bestem0r
Copy link
Contributor

@Bestem0r Bestem0r commented Sep 25, 2024

Description

Bumps lego-editor in order to remove width: 140px from globals.css. This also caused all buttons not using the lego-bricks <Button> to have default button styling. To handle this, global button css has been added.

  • Changes look good on both light and dark theme.
  • Changes look good with different viewports (mobile, tablet, etc.).
  • Changes look good with slower Internet connections.

Testing

  • I have thoroughly tested my changes.

Verify that all tables look and behave correctly.

Copy link

vercel bot commented Sep 25, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Skipped Deployment
Name Status Preview Comments Updated (UTC)
lego-bricks-storybook ⬜️ Ignored (Inspect) Visit Preview Oct 2, 2024 3:40pm

@github-actions github-actions bot added the review-needed Pull requests that need review label Sep 25, 2024
@Bestem0r Bestem0r changed the title Remove global table styling Bump lego-editor Sep 29, 2024
@ivarnakken
Copy link
Member

I'm not a fan of f680726. These buttons use the button tag for a reason, and they don't look good as a Button. In e.g. the dropdown it looks better to fill the background like for the other items. I vote to revert this commit.

@Bestem0r
Copy link
Contributor Author

I'm not a fan of f680726. These buttons use the button tag for a reason, and they don't look good as a Button. In e.g. the dropdown it looks better to fill the background like for the other items. I vote to revert this commit.

Hmm, imo it looks slightly more consistent compared to the rest of the website, but I don't have a strong opinion on it. Refactoring all buttons is definitely out of scope for this PR anyways. Will revet it and add some global styling

@ivarnakken
Copy link
Member

Hmm, imo it looks slightly more consistent compared to the rest of the website, but I don't have a strong opinion on it. Refactoring all buttons is definitely out of scope for this PR anyways. Will revet it and add some global styling

In some special cases it makes sense to just use a button, like on the unauthenticated login component. I also think it looks better to "fill" the entire dropdown item background. I agree that it's good to be consistent though, but that's what we have the Button component for.

@Bestem0r
Copy link
Contributor Author

Good now? @ivarnakken

app/components/CommentForm/CommentForm.css Show resolved Hide resolved
app/styles/globals.css Show resolved Hide resolved
package.json Outdated Show resolved Hide resolved
@Bestem0r Bestem0r merged commit 021a8af into master Oct 2, 2024
6 checks passed
@Bestem0r Bestem0r deleted the remove-global-table-styling branch October 2, 2024 16:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
review-needed Pull requests that need review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants