Skip to content

Commit 829ab79

Browse files
vishalshrm539Sharma
andauthored
Layout styles broken in Banner (#399)
Co-authored-by: Sharma <[email protected]>
1 parent a576759 commit 829ab79

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

packages/angular-sdk-components/src/lib/_components/designSystemExtension/banner/banner.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ <h1 class="title">{{ title }}</h1>
99
</div>
1010
<div
1111
[ngClass]="{
12-
'psdk-grid-filter-1': this.layout$ === 'two-column',
12+
'psdk-grid-filter-2': this.layout$ === 'two-column',
1313
'psdk-grid-filter-wide-narrow': this.layout$ === 'wide-narrow',
1414
'psdk-grid-filter-narrow-wide': this.layout$ === 'narrow-wide'
1515
}"

packages/angular-sdk-components/src/lib/_components/designSystemExtension/banner/banner.component.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
.psdk-grid-filter-1 {
22
display: grid;
3-
grid-template-columns: repeat(3, minmax(0, 1fr));
3+
grid-template-columns: repeat(1, minmax(0, 1fr));
44
column-gap: calc(2 * 0.5rem);
55
row-gap: calc(2 * 0.5rem);
66
align-items: start;
77
}
88

99
.psdk-grid-filter-2 {
1010
display: grid;
11-
grid-template-columns: repeat(3, minmax(0, 1fr));
11+
grid-template-columns: repeat(2, minmax(0, 1fr));
1212
column-gap: calc(2 * 0.5rem);
1313
row-gap: calc(2 * 0.5rem);
1414
align-items: start;

0 commit comments

Comments
 (0)