View Source PetalComponents.Container (petal_components v0.19.5)

Link to this section 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.
  • rest (:global)

Slots

  • inner_block

Link to this section Functions

attributes

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.
  • rest (:global)

slots

Slots

  • inner_block