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

SDS Spacing Refactor #609

Merged
merged 12 commits into from
Jul 21, 2022
Merged

SDS Spacing Refactor #609

merged 12 commits into from
Jul 21, 2022

Conversation

codemonkey800
Copy link
Collaborator

Refactors napari hub margins, paddings, and gaps to use the SDS spacing scale defined here. Ultimately, there should be no major changes in site functionality. Spacing might be a little different, but it should be barely noticeable (except maybe by a designer 🧑‍🎨)

https://napari-hub-sds-spacing.vercel.app

@codemonkey800 codemonkey800 requested a review from nclack July 15, 2022 00:05
@@ -42,7 +42,9 @@ exports[`<PluginComplexFilter /> should match snapshot 1`] = `
class="MuiTouchRipple-root"
/>
</button>
<div>
<div
class="css-1flrym7"
Copy link

Choose a reason for hiding this comment

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

what's this?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

this is automatically generated at runtime for testing UIs against a snapshot

@@ -90,8 +90,8 @@ export function AppBarLanding() {
</div>

{/* Render as separate list so that it renders below everything on smaller screens. */}
<div className="screen-725:hidden">
<List className="col-span-2 px-6 mt-4">
<div className="col-span-2 screen-725:hidden">
Copy link

Choose a reason for hiding this comment

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

Why move col-span-2 to the div here?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

ahh there was a refactor I made in the past that put the col-span-2 on the wrong div, so I'm fixing that here since it's just a tailwind class I have to move

Copy link

@nclack nclack left a comment

Choose a reason for hiding this comment

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

looks good to me! I left a couple of questions - things I was curious about.

@codemonkey800 codemonkey800 merged commit 28e7c40 into main Jul 21, 2022
@codemonkey800 codemonkey800 deleted the jeremy/sds-spacing branch July 21, 2022 02:46
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.

2 participants