Skip to content

Commit 2fee02b

Browse files
committed
refactor(card): fix sample rtl
1 parent 7c54e9b commit 2fee02b

File tree

1 file changed

+15
-5
lines changed

1 file changed

+15
-5
lines changed

src/app/card/card.sample.scss

Lines changed: 15 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,21 +6,31 @@
66
gap: 1rem;
77
}
88

9-
.angular-cards, .wc-cards {
10-
justify-items: center;
9+
.angular-cards,
10+
.wc-cards {
1111
display: grid;
12-
grid-auto-flow: row;
13-
grid-template-rows: subgrid;
14-
grid-row: span 5;
12+
gap: 1rem;
13+
grid-row: 1;
14+
}
15+
16+
17+
.angular-cards:dir(rtl) {
18+
grid-column: 2;
19+
}
20+
21+
.wc-cards:dir(rtl) {
22+
grid-column: 1;
1523
}
1624

25+
1726
.custom-controls {
1827
display: grid;
1928
gap: 1rem;
2029
}
2130

2231
#igniteui-demo-app .sample-title {
2332
margin-bottom: 0;
33+
justify-self: center;
2434
}
2535

2636
#igniteui-demo-app .sample-wrapper {

0 commit comments

Comments
 (0)