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

refactor: remove default carousel padding #4

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

matthewvolk
Copy link

@matthewvolk matthewvolk commented Mar 22, 2024

Better to diff this one without whitespace: https://github.com/makeswift/catalyst-demo/pull/4/files?w=1

Remove default Product/+Carousel padding, bind Style control to Product/+Carousel component

Copy link

vercel bot commented Mar 22, 2024

@matthewvolk is attempting to deploy a commit to the Makeswift Team on Vercel.

A member of the Team first needs to authorize it.

@@ -21,6 +21,7 @@ const fetchCategories = async (): Promise<Category[]> => {

export const props = {
title: TextInput({ label: 'Title', defaultValue: 'Products', selectAll: true }),
className: Style(),
Copy link
Collaborator

Choose a reason for hiding this comment

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

I would use this guy:

className: Style({ properties: [Style.Margin, Style.Padding, Style.Width] }),

By default Style comes with a bunch of things like border radius that aren't relavent to this component.

Copy link

vercel bot commented Mar 22, 2024

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

Name Status Preview Comments Updated (UTC)
catalyst-makeswift-demo ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 22, 2024 6:49pm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants