Skip to content

Commit

Permalink
Adjusting align for flex items in header
Browse files Browse the repository at this point in the history
  • Loading branch information
skduncan committed Nov 6, 2024
1 parent dac3709 commit 364ea28
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions playbook-website/app/views/pages/kit_show.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,10 @@
<%= react_component("DarkModeToggle", initMode: cookies[:dark_mode] )%>
</div>
<% end %>
<%= pb_rails("flex", props: { justify: "between", align_items: "center" }) do %>
<%= pb_rails("flex", props: { justify: "between", align_items: "start" }) do %>
<%= pb_rails("flex/flex_item", props: { flex: "9"}) do %>
<%= pb_rails("flex", props: { orientation: "column"}) do %>
<%= pb_rails("title", props: { text: pb_kit_title(@kit), tag: "h1", size: 1, margin_top: "xl" }) %>
<%= @kit %>
<%= @icons_used.to_s %>
<%= @react_rendered.to_s %>
<%= @enhanced_element_used.to_s %>
<% if @kit_status === "beta" %>
<%= pb_rails("card", props: {highlight: {position: "side", color:"primary", shadow:"deep"}, margin_y: "md", padding: "sm"}) do %>
<%= pb_rails("flex", props:{ align: "center" }) do %>
Expand Down

0 comments on commit 364ea28

Please sign in to comment.