Fix(styling): Ensure authorize button stays on the right for UX reasons#9387
Merged
char0n merged 4 commits intoswagger-api:masterfrom Nov 20, 2023
Merged
Conversation
17 tasks
82557be to
9f8e5b6
Compare
char0n
approved these changes
Nov 20, 2023
Contributor
char0n
left a comment
There was a problem hiding this comment.
LGTM! Thanks for the followup regression fix. I've verified locally that this fix works as expected.
delendik-testops
pushed a commit
to ModiusOpenData/swagger-ui
that referenced
this pull request
Mar 3, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Ensure that the Authorize button stays on the right when Server and Schemes selectors are not present.
Refs #8940
Description
This is a fix for an issue caused by this PR #9325. You can find details about the issue here.
Motivation and Context
This will stop the awkwardness of having the Authorize button on the left (users are used to having it on the right).
How Has This Been Tested?
I tested these style changes using multiple devices on multiple platforms with different screen sizes.
Also, because these are just styling changes no new tests are needed and all existing tests pass.
Screenshots (if appropriate):
Checklist
My PR contains...
src/is unmodified: changes to documentation, CI, metadata, etc.)package.json)My changes...
Documentation
Automated tests