Skip to content

Commit dc8c02d

Browse files
authored
post fix accordion (#1417)
1 parent dbef5b3 commit dc8c02d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pcweb/components/docpage/sidebar/sidebar.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -150,8 +150,8 @@ def sidebar_item_comp(
150150
class_name="font-small",
151151
),
152152
rx.box(class_name="flex-grow"),
153-
rx.accordion.icon(class_name="size-4"),
154-
class_name="!px-0 flex items-center !bg-transparent !hover:bg-transparent !py-2 !pr-0 w-full text-slate-9 aria-expanded:text-slate-11 hover:text-slate-11 transition-color",
153+
rx.accordion.icon(class_name="size-4 !text-slate-9 group-hover:!text-violet-9"),
154+
class_name="!px-0 flex items-center !bg-transparent !hover:bg-transparent !py-2 !pr-0 w-full !text-slate-9 aria-expanded:text-slate-11 hover:!text-slate-11 transition-color group",
155155
),
156156
),
157157
rx.accordion.content(
@@ -328,7 +328,7 @@ def create_sidebar_section(
328328
type="multiple",
329329
collapsible=True,
330330
default_value=index[:1].foreach(lambda x: "index" + x.to_string()),
331-
class_name="ml-0 pl-0 w-full !bg-transparent",
331+
class_name="ml-0 pl-0 w-full !bg-transparent !shadow-none rounded-[0px]",
332332
),
333333
class_name="flex flex-col items-start ml-0 w-full",
334334
)

0 commit comments

Comments
 (0)