Skip to content

Commit e56cc57

Browse files
committed
clean up planpanelleff
1 parent 80595af commit e56cc57

File tree

2 files changed

+9
-10
lines changed

2 files changed

+9
-10
lines changed

src/frontend_react/src/components/content/PlanPanelLeft.tsx

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -110,15 +110,7 @@ const PlanPanelLeft: React.FC<PlanPanelLefProps> = ({ onNewTaskButton }) => {
110110

111111
<br />
112112
<div
113-
className="tab"
114-
style={{
115-
display: "flex",
116-
alignItems: "center",
117-
gap: "8px",
118-
padding: "8px 8px",
119-
cursor: "pointer",
120-
margin: "0 8px",
121-
}}
113+
className="tab tab-new-task"
122114
onClick={onNewTaskButton}
123115
>
124116
<ChatAdd20Regular />

src/frontend_react/src/styles/PlanPanelLeft.css

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,14 @@
2121
.tab:active {
2222
background-color: var(--colorSubtleBackgroundPressed);
2323
}
24-
24+
.tab-new-task {
25+
display: flex;
26+
align-items: center;
27+
gap: 8px;
28+
padding: 8px 8px;
29+
cursor: pointer;
30+
margin: 0 8px;
31+
}
2532

2633
/* TASKLIST */
2734

0 commit comments

Comments
 (0)