Skip to content

Commit

Permalink
Add comments on DemoComponent classes
Browse files Browse the repository at this point in the history
  • Loading branch information
davidalejandroaguilar committed Sep 22, 2024
1 parent ae701e0 commit c98120a
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions app/views/components/examples/demo_component.rb
Original file line number Diff line number Diff line change
Expand Up @@ -60,18 +60,25 @@ def render_code

def render_demo
classes = [
# Border and background
"border-base-300",
"[border-width:var(--tab-border)]",
"bg-[length:40px_40px]",
"bg-top",

# Flexbox layout
"flex",
"flex-wrap",
"gap-4",
"[justify-content:safe_center]",
"items-center",
"content-center",

# Padding and size
"p-8",
"min-h-[24rem]",

# Miscellaneous
"rounded-box",
"overflow-x-hidden",
"lg:overflow-x-scroll"
Expand Down

0 comments on commit c98120a

Please sign in to comment.