We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 33db515 commit f4b764bCopy full SHA for f4b764b
tbx/static_src/sass/components/_featured-services.scss
@@ -5,17 +5,22 @@
5
margin-bottom: $spacer-medium;
6
}
7
8
- &__cards {
9
- display: grid;
+ &__cards {
+ display: flex;
10
gap: $spacer-mini-plus;
11
- grid-template-columns: repeat(1, 1fr);
+ flex-wrap: wrap;
12
13
@include media-query(medium) {
14
- grid-template-columns: repeat(2, 1fr);
+ > * {
15
+ flex: 1 1 40%;
16
+ }
17
18
19
@include media-query(x-large) {
- grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
20
21
+ flex: 1 1 20%;
22
+ min-width: 20%;
23
24
25
26
0 commit comments