Skip to content

Commit d2432c3

Browse files
committed
update card
1 parent ab64e18 commit d2432c3

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

reflex_ui/components/base/card.py

Lines changed: 3 additions & 3 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-4 px-6 pt-6 pb-4"
14+
HEADER = "flex flex-col px-6 pt-6 pb-4"
1515
TITLE = "text-2xl font-semibold text-secondary-12"
16-
DESCRIPTION = "text-sm text-secondary-11 font-[450]"
17-
CONTENT = "flex flex-col gap-4 px-6 pb-4"
16+
DESCRIPTION = "text-sm text-secondary-11 font-[450] mt-4"
17+
CONTENT = "flex flex-col gap-4 px-6 pb-6"
1818
FOOTER = "flex flex-row justify-between items-center px-6 pb-6"
1919

2020

reflex_ui/components/base/card.pyi

Lines changed: 3 additions & 3 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-4 px-6 pt-6 pb-4"
19+
HEADER = "flex flex-col px-6 pt-6 pb-4"
2020
TITLE = "text-2xl font-semibold text-secondary-12"
21-
DESCRIPTION = "text-sm text-secondary-11 font-[450]"
22-
CONTENT = "flex flex-col gap-4 px-6 pb-4"
21+
DESCRIPTION = "text-sm text-secondary-11 font-[450] mt-4"
22+
CONTENT = "flex flex-col gap-4 px-6 pb-6"
2323
FOOTER = "flex flex-row justify-between items-center px-6 pb-6"
2424

2525
class CardComponent(Div, CoreComponent):

0 commit comments

Comments
 (0)