-
Notifications
You must be signed in to change notification settings - Fork 18
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
SDS Spacing Refactor #609
Conversation
@@ -42,7 +42,9 @@ exports[`<PluginComplexFilter /> should match snapshot 1`] = ` | |||
class="MuiTouchRipple-root" | |||
/> | |||
</button> | |||
<div> | |||
<div | |||
class="css-1flrym7" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what's this?
There was a problem hiding this comment.
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"> |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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
There was a problem hiding this 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.
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