-
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] Don't double-encapsulate Alert contents in <span/> or <p/> #13640
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 |
---|---|---|
|
@@ -147,7 +147,7 @@ export function WorkspaceSearch(props: Props) { | |
</div> | ||
</div> | ||
<Alert type={"info"} closable={false} showIcon={true} className="flex rounded p-2 mb-2 w-full"> | ||
<span>Search workspaces using workspace ID.</span> | ||
Search workspaces using workspace ID. | ||
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: Thanks for all the side fixes here, Jan! 🍫 |
||
</Alert> | ||
<div className="flex flex-col space-y-2"> | ||
<div className="px-6 py-3 flex justify-between text-sm text-gray-400 border-t border-b border-gray-200 dark:border-gray-800 mb-2"> | ||
|
Original file line number | Diff line number | Diff line change | ||||||||
---|---|---|---|---|---|---|---|---|---|---|
|
@@ -133,12 +133,10 @@ export default function () { | |||||||||
{!team && ( | ||||||||||
<div className="app-container pt-2"> | ||||||||||
<Alert type={"message"} closable={false} showIcon={true} className="flex rounded mb-2 w-full"> | ||||||||||
<p> | ||||||||||
We'll remove projects under personal accounts in Q1'2023.{" "} | ||||||||||
<Link to="/new" className="gp-link"> | ||||||||||
Create a team. | ||||||||||
</Link> | ||||||||||
</p> | ||||||||||
We'll remove projects under personal accounts in Q1'2023.{" "} | ||||||||||
<Link to="/new" className="gp-link"> | ||||||||||
Create a team. | ||||||||||
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.
Suggested change
Suggested change
|
||||||||||
</Link> | ||||||||||
</Alert> | ||||||||||
</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.
thought: I agree, there's no need to double-encapsulate the contents. The alert component added by @mustard-mh back in https://github.com/gitpod-io/gitpod/pull/8783/files should already handle properly most, if not all, styling use cases, including dark theme colors. 🏓