File tree 7 files changed +23
-13
lines changed
7 files changed +23
-13
lines changed Original file line number Diff line number Diff line change @@ -47,6 +47,7 @@ export const PriorityIcon: React.FC<IPriorityIcon> = (props) => {
47
47
>
48
48
< Icon
49
49
size = { size }
50
+ viewBox = "0 0 23.5 24"
50
51
className = { cn (
51
52
{
52
53
"text-white" : priority === "urgent" ,
Original file line number Diff line number Diff line change @@ -89,8 +89,8 @@ export const DeactivateAccountModal: React.FC<Props> = (props) => {
89
89
< div className = "px-4 pb-4 pt-5 sm:p-6 sm:pb-4" >
90
90
< div className = "" >
91
91
< div className = "flex items-start gap-x-4" >
92
- < div className = "grid place-items-center rounded-full bg-red-500/20 p-4 " >
93
- < Trash2 className = "h-6 w-6 text-red-600" aria-hidden = "true" />
92
+ < div className = "grid place-items-center rounded-full bg-red-500/20 p-2 sm:p-2 md:p-4 lg:p-4 mt-3 sm:mt-3 md:mt-0 lg:mt-0 " >
93
+ < Trash2 className = "h-4 w-4 sm:h-4 sm:w-4 md:h-6 md:w-6 lg:h-6 lg: w-6 text-red-600" aria-hidden = "true" />
94
94
</ div >
95
95
< div >
96
96
< Dialog . Title as = "h3" className = "my-4 text-2xl font-medium leading-6 text-custom-text-100" >
Original file line number Diff line number Diff line change @@ -26,11 +26,11 @@ export const DurationFilterDropdown: React.FC<Props> = (props) => {
26
26
placement = "bottom-end"
27
27
closeOnSelect
28
28
>
29
- { DURATION_FILTER_OPTIONS . map ( ( option ) => (
30
- < CustomMenu . MenuItem key = { option . key } onClick = { ( ) => onChange ( option . key ) } >
31
- { option . label }
32
- </ CustomMenu . MenuItem >
33
- ) ) }
29
+ { DURATION_FILTER_OPTIONS . map ( ( option ) => (
30
+ < CustomMenu . MenuItem key = { option . key } onClick = { ( ) => onChange ( option . key ) } >
31
+ { option . label }
32
+ </ CustomMenu . MenuItem >
33
+ ) ) }
34
34
</ CustomMenu >
35
35
) ;
36
36
} ;
Original file line number Diff line number Diff line change @@ -77,7 +77,7 @@ export const WidgetIssuesList: React.FC<WidgetIssuesListProps> = (props) => {
77
77
} ) }
78
78
>
79
79
Issues
80
- < span className = "flex-shrink-0 bg-custom-primary-100/20 text-custom-primary-100 text-xs font-medium rounded-xl h-4 min-w-6 flex items-center text-center justify-center" >
80
+ < span className = "flex-shrink-0 bg-custom-primary-100/20 text-custom-primary-100 text-xs font-medium rounded-xl px-3 flex items-center text-center justify-center" >
81
81
{ totalIssues }
82
82
</ span >
83
83
</ h6 >
Original file line number Diff line number Diff line change @@ -9,6 +9,7 @@ import { WidgetLoader } from "components/dashboard/widgets";
9
9
import { renderFormattedPayloadDate } from "helpers/date-time.helper" ;
10
10
// types
11
11
import { TOverviewStatsWidgetResponse } from "@plane/types" ;
12
+ import { cn } from "helpers/common.helper" ;
12
13
13
14
export type WidgetProps = {
14
15
dashboardId : string ;
@@ -71,10 +72,18 @@ export const OverviewStatsWidget: React.FC<WidgetProps> = observer((props) => {
71
72
[&>div:nth-child(2)>a>div]:lg:border-r
72
73
"
73
74
>
74
- { STATS_LIST . map ( ( stat ) => (
75
- < div className = "w-full flex flex-col gap-2 hover:bg-custom-background-80 rounded-[10px]" >
75
+ { STATS_LIST . map ( ( stat , index ) => (
76
+ < div
77
+ className = { cn (
78
+ `w-full flex flex-col gap-2 hover:bg-custom-background-80` ,
79
+ index === 0 ? "rounded-tl-xl lg:rounded-l-xl" : "" ,
80
+ index === STATS_LIST . length - 1 ? "rounded-br-xl lg:rounded-r-xl" : "" ,
81
+ index === 1 ? "rounded-tr-xl lg:rounded-[0px]" : "" ,
82
+ index == 2 ? "rounded-bl-xl lg:rounded-[0px]" : ""
83
+ ) }
84
+ >
76
85
< Link href = { stat . link } className = "py-4 duration-300 rounded-[10px] w-full " >
77
- < div className = { `relative flex justify-center items-center` } >
86
+ < div className = { `relative flex pl-10 sm:pl-20 md:pl-20 lg:pl-20 items-center` } >
78
87
< div >
79
88
< h5 className = "font-semibold text-xl" > { stat . count } </ h5 >
80
89
< p className = "text-custom-text-300 text-sm xl:text-base" > { stat . title } </ p >
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ export const WorkspaceDashboardHeader = () => {
18
18
return (
19
19
< >
20
20
< ProductUpdatesModal isOpen = { isProductUpdatesModalOpen } setIsOpen = { setIsProductUpdatesModalOpen } />
21
- < div className = "relative z-10 flex h-[3.75rem] w-full flex-shrink-0 flex-row items-center justify-between gap-x-2 gap-y-4 border-b border-custom-border-200 bg-custom-sidebar-background-100 p-4" >
21
+ < div className = "relative z-20 flex h-[3.75rem] w-full flex-shrink-0 flex-row items-center justify-between gap-x-2 gap-y-4 border-b border-custom-border-200 bg-custom-sidebar-background-100 p-4" >
22
22
< div className = "flex items-center gap-2 overflow-ellipsis whitespace-nowrap" >
23
23
< SidebarHamburgerToggle />
24
24
< div >
Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ export const AppSidebar: FC<IAppSidebar> = observer(() => {
42
42
43
43
return (
44
44
< div
45
- className = { `inset-y-0 z-20 flex h-full flex-shrink-0 flex-grow-0 flex-col border-r border-custom-sidebar-border-200 bg-custom-sidebar-background-100 duration-300
45
+ className = { `inset-y-0 z-30 flex h-full flex-shrink-0 flex-grow-0 flex-col border-r border-custom-sidebar-border-200 bg-custom-sidebar-background-100 duration-300
46
46
fixed md:relative
47
47
${ themStore . sidebarCollapsed ? "-ml-[280px]" : "" }
48
48
sm:${ themStore . sidebarCollapsed ? "-ml-[280px]" : "" }
You can’t perform that action at this time.
0 commit comments