-
Notifications
You must be signed in to change notification settings - Fork 293
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
Update the warning banner styling #2757
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
@@ -742,8 +742,8 @@ const RequestsPageV2 = (props: RequestsPageV2Props) => { | |||
<> | |||
<div className="h-screen flex flex-col"> | |||
{requestWithoutStream && !isWarningHidden && ( | |||
<div className="alert alert-warning flex justify-between items-center"> | |||
<p className="text-yellow-800"> | |||
<div className="bg-sky-500 text-white text-[13px] flex justify-between items-center p-4"> |
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.
change to "bg-sky-200" please
@@ -742,8 +742,8 @@ const RequestsPageV2 = (props: RequestsPageV2Props) => { | |||
<> | |||
<div className="h-screen flex flex-col"> | |||
{requestWithoutStream && !isWarningHidden && ( | |||
<div className="alert alert-warning flex justify-between items-center"> | |||
<p className="text-yellow-800"> | |||
<div className="bg-sky-500 text-white text-[13px] flex justify-between items-center p-4"> |
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.
Can you reduce the padding to p-2 instead
Addressing your review. View activity logs for details. |
@LinaLam I've addressed your review. Add another review if minor changes are needed. If major changes are needed, retry the issue from the Tusk app with additional context. |
@@ -742,8 +742,8 @@ const RequestsPageV2 = (props: RequestsPageV2Props) => { | |||
<> | |||
<div className="h-screen flex flex-col"> | |||
{requestWithoutStream && !isWarningHidden && ( | |||
<div className="alert alert-warning flex justify-between items-center"> | |||
<p className="text-yellow-800"> | |||
<div className="bg-sky-200 text-white text-[13px] flex justify-between items-center p-2"> |
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.
can you make it bg-sky-400 instead?
Addressing your review. View activity logs for details. |
@LinaLam I've addressed your review. Add another review if minor changes are needed. If major changes are needed, retry the issue from the Tusk app with additional context. |
@@ -742,8 +742,8 @@ const RequestsPageV2 = (props: RequestsPageV2Props) => { | |||
<> | |||
<div className="h-screen flex flex-col"> | |||
{requestWithoutStream && !isWarningHidden && ( | |||
<div className="alert alert-warning flex justify-between items-center"> | |||
<p className="text-yellow-800"> | |||
<div className="bg-sky-400 text-white text-[13px] flex justify-between items-center p-2"> |
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.
make it bg-sky-400 please
<div className="alert alert-warning flex justify-between items-center"> | ||
<p className="text-yellow-800"> | ||
<div className="bg-sky-400 text-white text-[13px] flex justify-between items-center p-2"> | ||
<p> | ||
We are unable to calculate your cost accurately because the | ||
'stream_usage' option is not included in your message. | ||
Please refer to{" "} |
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.
can you make sure the link after called "this documentation" is in white?
Addressing your review. View activity logs for details. |
@LinaLam I've addressed your review. Add another review if minor changes are needed. If major changes are needed, retry the issue from the Tusk app with additional context. |
This PR updates the styling of the warning banner on the request page. The changes include:
bg-sky-500
.#FFFFFF
) usingtext-white
.text-[13px]
.flex justify-between items-center
and adding padding withp-4
.text-white
andhover:text-gray-200
.These updates provide a clearer and more visually appealing warning banner to users.
Tips: