Sha256: be4fef2655bcbdfcf1ffd4254d764e6fe6d27bfdb7e5a02d8b495c7aef5acbcd
Contents?: true
Size: 1.78 KB
Versions: 121
Compression:
Stored size: 1.78 KB
Contents
<%= pb_rails("title", props: {size: 4, text: "Grow"}) %> <br/> <div class="flex-doc-example"> <%= pb_rails("flex",props: { gap:"sm" }) do %> <%= pb_rails("flex/flex_item", props: { grow: true }) do %>I'm growing<% end %> <%= pb_rails("flex/flex_item") do %>1<% end %> <%= pb_rails("flex/flex_item") do %>2<% end %> <%= pb_rails("flex/flex_item") do %>3<% end %> <% end %> </div> <br/><br/> <%= pb_rails("title", props: {size: 4, text: "Shrink"}) %> <br/> <div class="flex-doc-example"> <%= pb_rails("flex", props: { gap: "sm"}) do %> <%= pb_rails("flex/flex_item", props: {shrink: true}) do %> I'm shrinking<% end %> <%= pb_rails("flex/flex_item", props: {flex: "1"}) do %>1<% end %> <%= pb_rails("flex/flex_item", props: {flex: "1"}) do %>2<% end %> <%= pb_rails("flex/flex_item", props: {flex: "1"}) do %>3<% end %> <% end %> </div> <br/><br/> <%= pb_rails("title", props: {size: 4, text: "Fixed Size"}) %> <br/> <div class="flex-doc-example"> <%= pb_rails("flex", props: { gap: "sm"}) do %> <%= pb_rails("flex/flex_item", props: {fixed_size: "250px"}) do %> I'm 250px<% end %> <%= pb_rails("flex/flex_item", props: {flex: "1"}) do %>1<% end %> <%= pb_rails("flex/flex_item", props: {flex: "1"}) do %>2<% end %> <%= pb_rails("flex/flex_item", props: {flex: "1"}) do %>3<% end %> <% end %> </div> <br/><br/> <%= pb_rails("title", props: {size: 4, text: "Flex"}) %> <br/> <div class="flex-doc-example"> <%= pb_rails("flex", props: { gap: "sm"}) do %> <%= pb_rails("flex/flex_item", props: {flex: "1"}) do %>1<% end %> <%= pb_rails("flex/flex_item", props: {flex: "3"}) do %>2<% end %> <%= pb_rails("flex/flex_item", props: {flex: "1"}) do %>3<% end %> <%= pb_rails("flex/flex_item", props: {flex: "2"}) do %>4<% end %> <% end %> </div>
Version data entries
121 entries across 121 versions & 1 rubygems