View Source PetalComponents.Container (petal_components v1.1.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 tofalse
. Global attributes are accepted.
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 tofalse
. Global attributes are accepted.
slots
Slots
inner_block