style: add icons to view style tabs in settings
Match the header view switcher icons (Calendar, CalendarDays, ListTodo, Kanban) in the settings sidebar tab bar. v1.51.1 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
2141332bb3
commit
eeabe2c1c5
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "my-weekly-todo-list",
|
||||
"version": "1.51.0",
|
||||
"version": "1.51.1",
|
||||
"description": "A web-based weekly task management application that organizes to-dos and calendar events in a single, intuitive weekly view",
|
||||
"main": "index.js",
|
||||
"scripts": {
|
||||
|
||||
@ -10966,10 +10966,10 @@ function SettingsSidebar({
|
||||
gap: "0",
|
||||
}}>
|
||||
{([
|
||||
{ key: "simple", label: t.simpleView },
|
||||
{ key: "calendar", label: t.calendarView },
|
||||
{ key: "list", label: t.listView },
|
||||
{ key: "kanban", label: t.kanbanView },
|
||||
{ key: "simple", label: t.simpleView, icon: <Calendar size={14} /> },
|
||||
{ key: "calendar", label: t.calendarView, icon: <CalendarDays size={14} /> },
|
||||
{ key: "list", label: t.listView, icon: <ListTodo size={14} /> },
|
||||
{ key: "kanban", label: t.kanbanView, icon: <Kanban size={14} /> },
|
||||
] as const).map((tab) => (
|
||||
<button
|
||||
key={tab.key}
|
||||
@ -10996,8 +10996,13 @@ function SettingsSidebar({
|
||||
marginBottom: "-2px",
|
||||
cursor: "pointer",
|
||||
transition: "all 0.15s",
|
||||
display: "flex",
|
||||
alignItems: "center",
|
||||
justifyContent: "center",
|
||||
gap: "4px",
|
||||
}}
|
||||
>
|
||||
{tab.icon}
|
||||
{tab.label}
|
||||
</button>
|
||||
))}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user