-
Notifications
You must be signed in to change notification settings - Fork 582
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Login - Add padding between username / password (#239)
This is just a minor fit & finish fix for login, to more closely emulate the styling of v1. __Before:__ <img width="437" alt="Screen Shot 2022-02-09 at 4 16 05 PM" src="https://user-images.githubusercontent.com/88213859/153312547-04d0a15f-6f69-4365-8935-f1e8363b4cb6.png"> __After:__ <img width="446" alt="Screen Shot 2022-02-09 at 4 13 34 PM" src="https://user-images.githubusercontent.com/88213859/153312516-a4b4b67b-ed9c-43d2-b32d-3f3c746262d1.png"> While I was looking at this - removed a few currently-unnecessary styles and added a story for this component.
- Loading branch information
1 parent
b6fcd81
commit 277318b
Showing
2 changed files
with
19 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
import { Story } from "@storybook/react" | ||
import React from "react" | ||
import { SignInForm, SignInProps } from "./SignInForm" | ||
|
||
export default { | ||
title: "SignIn/SignInForm", | ||
component: SignInForm, | ||
argTypes: { | ||
loginHandler: { action: "Login" }, | ||
}, | ||
} | ||
|
||
const Template: Story<SignInProps> = (args) => <SignInForm {...args} /> | ||
|
||
export const Example = Template.bind({}) | ||
Example.args = {} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters