-
Notifications
You must be signed in to change notification settings - Fork 309
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
Add bottom-padding to sign-in and sign-up footer #778
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -27,15 +27,17 @@ | |
</form> | ||
|
||
<amplify-slot name="sign-in-footer" [context]="context"> | ||
<button | ||
amplify-button | ||
fontWeight="normal" | ||
size="small" | ||
variation="link" | ||
fullWidth="true" | ||
(click)="authenticator.toResetPassword()" | ||
> | ||
{{ forgotPasswordText }} | ||
</button> | ||
<div data-amplify-footer> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. We use default styles under the slot, so that these opinionated slots are gone if customers override it. One cool thing they can do is to put |
||
<button | ||
amplify-button | ||
fontWeight="normal" | ||
size="small" | ||
variation="link" | ||
fullWidth="true" | ||
(click)="authenticator.toResetPassword()" | ||
> | ||
{{ forgotPasswordText }} | ||
</button> | ||
</div> | ||
</amplify-slot> | ||
</div> |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -49,7 +49,7 @@ export function Router({ | |
<View data-amplify-container=""> | ||
<Header /> | ||
|
||
<View data-amplify-body=""> | ||
<View data-amplify-router=""> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Changed naming for clarity/declarative name |
||
{(() => { | ||
switch (route) { | ||
case 'idle': | ||
|
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.
No longer shipping default styles as discussed