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

fix: isOss check + minor UI things #8828

Merged
merged 3 commits into from
Nov 22, 2024
Merged

Conversation

thomasheartman
Copy link
Contributor

@thomasheartman thomasheartman commented Nov 21, 2024

This PR fixes the isOss check for the licensed users component. It also addresses two things in the UI:

  1. It right-aligns the text on the button so that when we get narrower, the text doesn't slide to the center. There's a few more things that we can fix later, though. When you press it, it'll still show the entire button layout:
    image
    And when you focus it with a keyboard it still looks like a button.

We can get around that by using a regular button and just styling it a bit, but making the text align will take some extra jimmying around (not done in this pr, but got stashed changes for it)
image

But this is what it'd look like now with centered text:
image

  1. It wraps the entire left column in a p tag, because they belong together. They're not two logical paragraphs. So instead, we wrap them in spans and surround them in a
    p. Display: contents makes the p "invisible", so its children act as if
    they're children of the container above it instead.

Because these are the same sentence, they shouldn't be separate
paragraphs. So instead, we wrap them in spans and surround them in a
p. Display contents makes the p "invisible", so its children act as if
they're children of the container above it instead.
Copy link

vercel bot commented Nov 21, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
unleash-monorepo-frontend ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 21, 2024 1:50pm
1 Skipped Deployment
Name Status Preview Comments Updated (UTC)
unleash-docs ⬜️ Ignored (Inspect) Visit Preview Nov 21, 2024 1:50pm

Copy link
Contributor

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

OpenSSF Scorecard

PackageVersionScoreDetails

Scanned Files

@thomasheartman thomasheartman merged commit 705a0e5 into main Nov 22, 2024
12 of 13 checks passed
@thomasheartman thomasheartman deleted the fix/correct-isOss-check branch November 22, 2024 08:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants