Skip to content

Conversation

@miles-grant-ibigroup
Copy link
Collaborator

Description:
The advanced options no longer floats. This makes it easier to see what's where.

PR Checklist:

  • Does the code follow accessibility standards (WCAG 2.1 AA Compliant)?
  • Are all languages supported (Internationalization/Localization)?
  • Are appropriate Typescript types implemented?

Before:
Screenshot 2023-06-07 at 1 08 59 PM

After:
Screenshot 2023-06-07 at 1 07 39 PM

Copy link
Collaborator

@binh-dam-ibigroup binh-dam-ibigroup left a comment

Choose a reason for hiding this comment

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

LGTM with one minor change.

const advancedSearchStyle = {
background: 'white',
boxShadow: 'none',
display: expandAdvanced ? undefined : 'none',
Copy link
Collaborator

@binh-dam-ibigroup binh-dam-ibigroup Jun 8, 2023

Choose a reason for hiding this comment

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

Actually, turn expandAdvanced into whether to render the thing at all (so you can delete this variable).

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I think I tried this and it causes problems with the state because the forms disappear

Copy link
Contributor

@daniel-heppner-ibigroup daniel-heppner-ibigroup left a comment

Choose a reason for hiding this comment

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

nice small improvement! Thanks!

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.

4 participants