View Source PetalComponents.Container (petal_components v1.9.2)

Summary

Functions

Attributes

  • max_width (:string) - sets container max-width. Defaults to "lg".
  • class (:string) - CSS class for container. Defaults to "".
  • no_padding_on_mobile (:boolean) - specify for padding on mobile. Defaults to false.
  • Global attributes are accepted.

Slots

  • inner_block

Functions

Attributes

  • max_width (:string) - sets container max-width. Defaults to "lg".
  • class (:string) - CSS class for container. Defaults to "".
  • no_padding_on_mobile (:boolean) - specify for padding on mobile. Defaults to false.
  • Global attributes are accepted.

Slots

  • inner_block