Skip to content

Commit

Permalink
fix(section): flex item variation width incorrectly applied
Browse files Browse the repository at this point in the history
  • Loading branch information
nileshgulia1 committed Sep 27, 2023
1 parent 584161b commit 4977cd2
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions theme/themes/eea/views/item.overrides
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@
}
}

.flex-items-wrapper.items-2-columns .flex-item {
.flex-items-wrapper .flex-item {
width: var(--flex-item-width, 100%);
}
@media only screen and (min-width: @tabletBreakpoint) {
Expand All @@ -181,15 +181,15 @@
}

.flex-items-wrapper.items-3-columns .flex-item {
--flex-item-width: calc(@width / 3);
--flex-item-width: calc(@width / 3 - 1%);
}

.flex-items-wrapper.items-4-columns .flex-item {
--flex-item-width: calc(@width / 4);
--flex-item-width: calc(@width / 4 - 1%);
}

.flex-items-wrapper.items-5-columns .flex-item {
--flex-item-width: calc(@width / 5);
--flex-item-width: calc(@width / 5 - 1%);
}
}

Expand Down

0 comments on commit 4977cd2

Please sign in to comment.