Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[PLAY-1026] Homepage Responsiveness Updates #2786

Merged
merged 3 commits into from
Oct 17, 2023
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
padding_y: { md: "none", default: "xl", break: "at" }
}) do %>
<%= pb_rails("flex", props: {
classname: "width-full",
classname: "solutionsFlexContainer width-full",
max_width: "xxl",
flex_direction: { xs: "column", sm: "column", md: "column", lg: "column", xl: "row" },
margin_y: "xl"
Expand Down Expand Up @@ -137,6 +137,7 @@
<% end %>

<%= pb_rails("flex/flex_item", props: {
classname: "language-card-text",
display: { sm: "none", md: "none", lg: "none", xl: "flex" }
}) do %>
<%= pb_rails("caption", props: {
Expand Down Expand Up @@ -172,6 +173,7 @@
<% end %>

<%= pb_rails("flex/flex_item", props: {
classname: "language-card-text",
display: { sm: "none", md: "none", lg: "none", xl: "flex" }
}) do %>
<%= pb_rails("caption", props: {
Expand Down Expand Up @@ -207,6 +209,7 @@
<% end %>

<%= pb_rails("flex/flex_item", props: {
classname: "language-card-text",
display: { sm: "none", md: "none", lg: "none", xl: "flex" }
}) do %>
<%= pb_rails("caption", props: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@
padding_top: "xl",
justify: "center",
spacing: "between",
row_gap: "xl",
wrap: true
}) do %>
<%= pb_rails("flex/flex_item") do %>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,32 @@
}
}

@include break_on($screen-xl-min, 1600px) {
jasperfurniss marked this conversation as resolved.
Show resolved Hide resolved
.solutionsFlexContainer {
flex-direction: column !important;
row-gap: $space_xl;
}

.language-card {
max-width: 300px;

[class*="pb_card_kit"] {
height: 175px;
}

&-text {
display: none !important;
}
}
}

// Image comparsion slider
.solutionsContainer {
position: relative;
height: 350px;
overflow: hidden;

@include break_on($screen-xl-min, 1340px) {
@include break_on($screen-xl-min, 1600px) {
margin-right: 0 !important;
}

Expand Down