View Source Fluid Layout
Backpex provides a way to create a fluid layout. A fluid layout is a layout that fills the entire width of the screen. This layout is useful for applications that need to display a lot of content on the screen.
Information
The
fluid?
options requires you to pass thefluid?
assign to theBackpex.HTML.Layout.app_shell/1
component in your layout file. See the Create layout documentation for more information.
Configure LiveResource
To create a fluid layout, you need to set the fluid?
option in a LiveResource
to true
.
# in your LiveResource module
defmodule MyAppWeb.Live.UserLive do
use Backpex.LiveResource, fluid?: true
end