Skip to content
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

305 - UI fixes to add author partial #385

Merged
merged 6 commits into from
Mar 12, 2024
Merged

Conversation

Janell-Huyck
Copy link
Contributor

@Janell-Huyck Janell-Huyck commented Mar 5, 2024

Fixes #305

This PR sets the addAuthor partial to display in a responsive format, showing one column for phones, two columns (delete button below inputs) for tablets, and three columns (the delete button to the right of inputs) for desktop views.

Testing for the form layout was updated and refactored to apply to both the submitter form and the addAuthor form.

Form layout classes in submitter form were updated to reflect the expansion of the layout styling.

<html lang="en"> was inserted at the top of the application.js file as an accessibility item.

A function that should have been public was accidentally placed in a private section, resulting in some flaky tests. Moved it back into the public section.

When firing this up locally, you should be able to adjust the size of the browser window to phone, tablet, and desktop sizes and see a smooth transition in layouts. Items should look aligned with each other and not crowd in the page.

@Janell-Huyck Janell-Huyck force-pushed the 305/ui-fixes-to-add-author-partial branch from 14f7eb9 to 0d72e35 Compare March 6, 2024 17:19
@Janell-Huyck Janell-Huyck changed the title 305/UI fixes to add author partial 305 - UI fixes to add author partial Mar 6, 2024
@haitzlm haitzlm self-assigned this Mar 7, 2024
@Janell-Huyck Janell-Huyck force-pushed the 305/ui-fixes-to-add-author-partial branch from 0d72e35 to 6458d93 Compare March 11, 2024 20:12
Copy link
Contributor

@haitzlm haitzlm left a comment

Choose a reason for hiding this comment

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

This works as the PR describes! Tested at different screen sizes.

@haitzlm haitzlm merged commit 23dbe5a into qa Mar 12, 2024
2 checks passed
@Janell-Huyck Janell-Huyck deleted the 305/ui-fixes-to-add-author-partial branch April 16, 2024 20:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Layouts: _author partial layout fix
2 participants