style: inbox (#1508)

This commit is contained in:
Aaryan Khandelwal 2023-07-13 11:38:45 +05:30 committed by GitHub
parent c9cbca5ec8
commit 120d06983d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 7 additions and 7 deletions

View File

@ -41,7 +41,7 @@ export const FiltersDropdown: React.FC = () => {
...PRIORITIES.map((priority) => ({
id: priority === null ? "null" : priority,
label: (
<div className="flex items-center gap-2">
<div className="flex items-center gap-2 capitalize">
{getPriorityIcon(priority)} {priority ?? "None"}
</div>
),

View File

@ -40,8 +40,8 @@ export const InboxIssueCard: React.FC<Props> = (props) => {
<a>
<div
id={issue.id}
className={`relative min-h-[5rem] cursor-pointer select-none space-y-3 py-2 px-4 border-b border-custom-border-100 hover:bg-custom-primary hover:bg-opacity-10 ${
active ? "bg-custom-primary bg-opacity-5" : " "
className={`relative min-h-[5rem] cursor-pointer select-none space-y-3 py-2 px-4 border-b border-custom-border-100 hover:bg-custom-primary/5 ${
active ? "bg-custom-primary/5" : " "
} ${issue.issue_inbox[0].status !== -2 ? "opacity-60" : ""}`}
>
<div className="flex items-center gap-x-2">

View File

@ -140,7 +140,7 @@ export const WorkspaceHelpSection: FC<WorkspaceHelpSectionProps> = (props) => {
${
issueNumber >= 750
? "bg-custom-primary-100 text-white"
: "bg-blue-50 text-custom-primary-100"
: "bg-blue-500/10 text-custom-primary-100"
}
${sidebarCollapse ? "w-full justify-center" : ""}`}
title="Shortcuts"
@ -154,10 +154,10 @@ export const WorkspaceHelpSection: FC<WorkspaceHelpSectionProps> = (props) => {
type="button"
className={`flex items-center gap-x-1 rounded-md px-2 py-2 font-medium outline-none text-sm ${
issueNumber >= 750
? "bg-red-50 text-red-600"
? "bg-red-500/10 text-red-600"
: issueNumber >= 500
? "bg-yellow-50 text-yellow-600"
: "bg-green-50 text-green-600"
? "bg-yellow-500/10 text-yellow-600"
: "bg-green-500/10 text-green-600"
}
${sidebarCollapse ? "w-full justify-center" : ""}`}
title="Shortcuts"