Skip to content

Commit eeef10f

Browse files
authored
fix: adjust grid layouts for better responsiveness (#670)
1 parent 89c7e57 commit eeef10f

File tree

5 files changed

+21
-14
lines changed

5 files changed

+21
-14
lines changed

package-lock.json

Lines changed: 8 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@
6161
"@angular/platform-browser": "^19.2.14",
6262
"@angular/platform-browser-dynamic": "^19.2.14",
6363
"@angular/router": "^19.2.14",
64-
"@pega/angular-sdk-components": "~0.25.7",
64+
"@pega/angular-sdk-components": "~0.25.8",
6565
"@pega/auth": "~0.2.34",
6666
"@pega/cosmos-react-condition-builder": "^7.0.4",
6767
"@pega/cosmos-react-core": "^7.0.4",
@@ -86,7 +86,7 @@
8686
"@angular/compiler-cli": "^19.2.14",
8787
"@angular/language-service": "^19.2.14",
8888
"@chromatic-com/storybook": "^3.2.7",
89-
"@pega/angular-sdk-overrides": "~0.25.7",
89+
"@pega/angular-sdk-overrides": "~0.25.8",
9090
"@pega/configs": "^0.16.3",
9191
"@pega/constellationjs": "~25.1.0",
9292
"@pega/dx-component-builder-sdk": "~0.25.7",

src/app/_samples/mediaco/components/banner/banner.component.scss

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,13 @@
11
.psdk-grid-filter-1 {
22
display: grid;
3-
grid-template-columns: repeat(2, minmax(0, 1fr));
3+
grid-template-columns: repeat(1, minmax(0, 1fr));
44
column-gap: calc(2 * 0.5rem);
55
gap: 1.5rem;
66
align-items: start;
7+
8+
@media (min-width: 1024px) {
9+
grid-template-columns: repeat(2, minmax(0, 1fr));
10+
}
711
}
812

913
.psdk-main-content-section {
@@ -14,7 +18,7 @@
1418

1519
.psdk-grid-filter-wide-narrow {
1620
display: grid;
17-
grid-template-columns: 7fr 3fr;
21+
grid-template-columns: repeat(1, minmax(0, 1fr));
1822
column-gap: calc(2 * 0.5rem);
1923
row-gap: calc(2 * 0.5rem);
2024
align-items: start;
@@ -23,6 +27,10 @@
2327
& > *:nth-child(1) {
2428
min-width: 0;
2529
}
30+
31+
@media (min-width: 1024px) {
32+
grid-template-columns: 7fr 3fr;
33+
}
2634
}
2735

2836
.psdk-grid-filter-narrow-wide {

src/app/_samples/mediaco/components/quick-create/quick-create.component.scss

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ $text-dark: #2c2c2c;
1010

1111
.content-wrapper {
1212
width: 100%;
13-
max-width: 1000px;
1413
display: flex;
1514
flex-direction: column;
1615
}
@@ -48,7 +47,6 @@ $text-dark: #2c2c2c;
4847
grid-auto-rows: 1px;
4948
gap: $gap-size;
5049
width: 100%;
51-
max-width: 1100px;
5250
align-items: start;
5351
grid-auto-flow: row dense;
5452

src/app/_samples/mediaco/components/wss-nav-bar/wss-nav-bar.component.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -185,6 +185,7 @@ mat-nav-list {
185185

186186
.mat-toolbar-multiple-rows {
187187
padding-top: 5px;
188+
min-height: 64px;
188189
}
189190
}
190191

0 commit comments

Comments
 (0)