-
Notifications
You must be signed in to change notification settings - Fork 14
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
Minor fixes for o3-form component #1855
Conversation
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.
Excellent work turning this around and great commits 💪 There's a couple of outstanding issues and a few extra small issues I spotted whilst reviewing this PR. I think they're probably small enough to be part of this PR, but feel free to make a note somewhere and either come back to those or make a ticket for later
checkboxLabel="Show Password" | ||
/> | ||
{!disabled && <a href="">Forgot password?</a>} | ||
{!disabled && <a className='o3-typography-link' href="">Forgot password?</a>} |
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.
There are multiple showPassword
ids on the page which is causing some issues
sidebar: | ||
badge: | ||
text: WIP | ||
variant: caution |
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.
@@ -72,11 +72,11 @@ const {sources} = Astro.props; | |||
text-decoration-line: underline; |
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.
I see there's no focus style here, all: unset;
has removed it!
@@ -1,6 +1,10 @@ | |||
--- | |||
title: Error summary | |||
description: The Error Summary appears on the top of a page after a user submits a form which generates an error. |
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.
I've just noticed, there is no preview of this? I'm sure there was
{description} | ||
</span> | ||
)} | ||
<legend className={labelClasses.join(' ')}> |
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.
Sorry another little unrelated issue 😅 I notice inputs are too small because they are not a child of .o3-grid
which sets --o3-grid-columns-to-span-width
(here). Shall we set a fallback size? Ben did the same for social sign in which is supported to align with forms.
Describe your changes
See commit below for changes