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

Make "Sign up" & "Sign in" similar w/ login links #754

Merged
merged 1 commit into from
Apr 29, 2024

Conversation

BryceStevenWilley
Copy link
Contributor

When login link style is "normal" with a wide screen, the login links are styled differently: one as a plain, unmarked link, and one as a button. Screen shot of vanilla docassemble below:

Screenshot from 2024-03-09 15-34-36

While the aesthetic isn't bad, the usability suffers, as it's not clear either at a glace or when hovering, that "Sign up" is a clickable link. This gets worse when modifying the bootstrap theme (see mplp/docassemble-mlhframework#87 for this original discussion, where it's more pronounced using our modified nav bar color).

This change makes the links consistent on narrow screens and on wide screens: either both links on narrow screens (in the dropdown) or both buttons on wider screens.

Additionally fixed an issue where there would be no login URL using login link style and not allowing registration.

Tested with login link style == "normal", and with allow registration as true and false.

When `login link style` is "normal" with a wide screen, the login links are
styled differently: one as a plain, unmarked link, and one as a button. This
change makes the links consistent on narrow screens and on wide screens: either
both links on narrow screens (in the dropdown) or both buttons on wider screens.

Additionally fixed an issue where there would be no login URL using login link
style and not allowing registration.
@jhpyle jhpyle merged commit 3a8a798 into jhpyle:master Apr 29, 2024
3 checks passed
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.

2 participants