PetalComponents.Container (petal_components v3.2.0)

Copy Markdown View Source

Summary

Functions

container(assigns)

Attributes

  • max_width (:string) - sets container max-width. Defaults to "lg". Must be one of "sm", "md", "lg", "xl", or "full".
  • class (:any) - CSS class for container. Defaults to nil.
  • no_padding_on_mobile (:boolean) - specify for padding on mobile. Defaults to false.
  • Global attributes are accepted.

Slots

  • inner_block