Skip to content

Commit

Permalink
[PLAY-1435] Fix Dark Mode Styles: Collapsible Kit
Browse files Browse the repository at this point in the history
  • Loading branch information
anthonymig88 committed Jul 19, 2024
1 parent fc8027f commit da5bdf4
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ const CollapsibleCustomMain = (props) => {
size={4}
text="Custom Main Section"
/>
<Collapsible.Icon collapsed={isCollapsed}/>
</Flex>
</Background>
<Collapsible.Content padding="none">
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<%= pb_rails("collapsible", props: { name: "default-example" }) do %>
<%= pb_rails("background", props: { background_color: "white", position: "sticky", top: "0", cursor:"pointer", data: {"collapsible-main": "true"} }) do %>
<%= pb_rails("flex", props: { position: "sticky", top: "0", cursor: "pointer", data: { "collapsible-main": "true", align: "center", gap: "sm", justify: "between" } }) do %>
<%= pb_rails("flex", props: {align:"center", gap:"sm", justify:"between"}) do %>
<%= pb_rails("title", props: { text: "Custom Main Section", tag: "h4", size: 4 }) %>
<% end %>
Expand All @@ -16,4 +16,5 @@
<% end %>
<% end %>
<% end %>



Original file line number Diff line number Diff line change
@@ -1,12 +1,8 @@
<%= pb_rails("collapsible", props: { name: "default-example" }) do %>
<%= pb_rails("background", props: { background_color: "white", position: "sticky", top: "0", cursor:"pointer", data: {"collapsible-main": "true"} }) do %>
<%= pb_rails("flex", props: {align:"center", gap:"sm", justify:"between"}) do %>
<%= pb_rails("title", props: { text: "Custom Main Section", tag: "h4", size: 4 }) %>
<%= pb_rails("flex", props: { position: "sticky", top: "0", cursor: "pointer", data: { "collapsible-main": "true" }, align: "center", gap: "sm", justify: "between" }) do %>
<%= pb_rails("title", props: { text: "Custom Main Section", tag: "h4", size: 4 }) %>
<%= pb_rails("collapsible/collapsible_icon") %>
<% end %>
<% end %>
<%= pb_rails("flex", props: { align: "center", justify: "between" }) do %>
<% end %>
<% end %>
<%= pb_rails("collapsible/collapsible_content", props: { padding: "none" }) do %>
<%= pb_rails("list", props: {ordered: false, dark: false, borderless: false}) do %>
<%= pb_rails("list/item") do %> Checklist Item <% end %>
Expand Down

0 comments on commit da5bdf4

Please sign in to comment.