Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: isOss check + minor UI things (#8828)
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](https://github.com/user-attachments/assets/ea4606be-614a-455e-921f-45ed8d40df23) 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](https://github.com/user-attachments/assets/33b2f32b-0027-45bf-84f2-4a5e99ef38b2) But this is what it'd look like now with centered text: ![image](https://github.com/user-attachments/assets/fe4c6b28-ede1-4418-a471-c2b6b959aacf) 2. 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.
- Loading branch information