Skip to content

Commit ab64e18

Browse files
committed
update card
1 parent 0d4acef commit ab64e18

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

reflex_ui/components/base/card.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@ class ClassNames:
1111
"""Class names for the card component."""
1212

1313
ROOT = "rounded-ui-xl border border-secondary-a4 bg-secondary-1 shadow-small"
14-
HEADER = "flex flex-col gap-2 p-6"
14+
HEADER = "flex flex-col gap-4 px-6 pt-6 pb-4"
1515
TITLE = "text-2xl font-semibold text-secondary-12"
1616
DESCRIPTION = "text-sm text-secondary-11 font-[450]"
17-
CONTENT = "flex flex-col gap-4 px-6 pb-6"
17+
CONTENT = "flex flex-col gap-4 px-6 pb-4"
1818
FOOTER = "flex flex-row justify-between items-center px-6 pb-6"
1919

2020

reflex_ui/components/base/card.pyi

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@ from reflex_ui.components.component import CoreComponent
1616

1717
class ClassNames:
1818
ROOT = "rounded-ui-xl border border-secondary-a4 bg-secondary-1 shadow-small"
19-
HEADER = "flex flex-col gap-2 p-6"
19+
HEADER = "flex flex-col gap-4 px-6 pt-6 pb-4"
2020
TITLE = "text-2xl font-semibold text-secondary-12"
2121
DESCRIPTION = "text-sm text-secondary-11 font-[450]"
22-
CONTENT = "flex flex-col gap-4 px-6 pb-6"
22+
CONTENT = "flex flex-col gap-4 px-6 pb-4"
2323
FOOTER = "flex flex-row justify-between items-center px-6 pb-6"
2424

2525
class CardComponent(Div, CoreComponent):

0 commit comments

Comments
 (0)