PetalComponents.Container (petal_components v3.0.0)

View Source

Summary

Functions

Attributes

  • max_width (:string) - sets container max-width. Defaults to "lg".
  • 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

Functions

container(assigns)

Attributes

  • max_width (:string) - sets container max-width. Defaults to "lg".
  • 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