Skip to content

Commit 09cb1f3

Browse files
committed
Update accordion styling (#1733)
1 parent 449183e commit 09cb1f3

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

pcweb/components/docpage/sidebar/sidebar.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,10 @@ def sidebar_item_comp(
206206
type="multiple",
207207
collapsible=True,
208208
default_value=index[:1].foreach(lambda x: "index" + x.to_string()),
209-
class_name="!my-2 flex flex-col items-start gap-4 !ml-[10px] list-none [box-shadow:inset_1.25px_0_0_0_var(--c-slate-4)_!important] !bg-transparent !rounded-none",
209+
style={
210+
"box-shadow": "inset 1.25px 0 0 0 var(--c-slate-4) !important"
211+
},
212+
class_name="!my-2 flex flex-col items-start gap-4 !ml-[10px] list-none !bg-transparent !rounded-none",
210213
),
211214
class_name="!p-0 w-full !bg-transparent before:!h-0 after:!h-0",
212215
),

0 commit comments

Comments
 (0)