-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
[dashboard] add button.gp-link CSS class #9641
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change | ||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
@@ -368,9 +368,9 @@ export default function NewProject() { | |||||||||||||||||||||||||||||
<p className="text-gray-500 text-center text-base mt-12"> | ||||||||||||||||||||||||||||||
{loaded && noReposAvailable ? "Select account on " : "Select a Git repository on "} | ||||||||||||||||||||||||||||||
<b>{selectedProviderHost}</b> ( | ||||||||||||||||||||||||||||||
<a className="gp-link cursor-pointer" onClick={() => setShowGitProviders(true)}> | ||||||||||||||||||||||||||||||
<button className="gp-link cursor-pointer" onClick={() => setShowGitProviders(true)}> | ||||||||||||||||||||||||||||||
change | ||||||||||||||||||||||||||||||
</a> | ||||||||||||||||||||||||||||||
</button> | ||||||||||||||||||||||||||||||
) | ||||||||||||||||||||||||||||||
</p> | ||||||||||||||||||||||||||||||
<div className={`mt-2 flex-col ${noReposAvailable && isGitHub() ? "w-96" : ""}`}> | ||||||||||||||||||||||||||||||
|
@@ -493,13 +493,12 @@ export default function NewProject() { | |||||||||||||||||||||||||||||
<div> | ||||||||||||||||||||||||||||||
<div className="text-gray-500 text-center w-96 mx-8"> | ||||||||||||||||||||||||||||||
Repository not found?{" "} | ||||||||||||||||||||||||||||||
<a | ||||||||||||||||||||||||||||||
href="javascript:void(0)" | ||||||||||||||||||||||||||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. praise: Nice! There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. suggestion(non-blocking): We have a few more actions in /plans masked as links that could benefit from this. However, I wouldn't block this from merging it as we're going to update and replace plans entirly soon. gitpod/components/dashboard/src/settings/Plans.tsx Lines 390 to 396 in 0895496
gitpod/components/dashboard/src/settings/Plans.tsx Lines 452 to 458 in 0895496
... |
||||||||||||||||||||||||||||||
<button | ||||||||||||||||||||||||||||||
onClick={(e) => reconfigure()} | ||||||||||||||||||||||||||||||
className="text-gray-400 underline underline-thickness-thin underline-offset-small hover:text-gray-600" | ||||||||||||||||||||||||||||||
className="gp-link text-gray-400 underline underline-thickness-thin underline-offset-small hover:text-gray-600" | ||||||||||||||||||||||||||||||
> | ||||||||||||||||||||||||||||||
Reconfigure | ||||||||||||||||||||||||||||||
</a> | ||||||||||||||||||||||||||||||
</button> | ||||||||||||||||||||||||||||||
</div> | ||||||||||||||||||||||||||||||
</div> | ||||||||||||||||||||||||||||||
)} | ||||||||||||||||||||||||||||||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
issue(non-blocking): This will slightly affect how the link style is rendered but that's minor for now.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good catch 🏅 !
I guess it stems from
text-sm
in the Tailwind styles applied to thebutton
element whilea
seems to just inherit as usual.The upcoming button component should take it into account. If you need a volunteer for working on the component, you know where to find me 😊