Skip to content

Commit c0090cd

Browse files
committed
Add class for two-column cards
1 parent e2c37b8 commit c0090cd

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

preview-src/docs-ndl.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ xref:tutorials:index.adoc[All tutorials]
199199
--
200200

201201

202-
[.cards.icon-s.align-center]
202+
[.cards.icon-s.align-center.two-column]
203203
== Other resources
204204

205205
=== Join forums and discussions

src/css/docs-ndl.css

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -731,8 +731,8 @@ body.docs-ndl .widget.highlights:nth-of-type(even) .icon {
731731
} */
732732

733733
/* For the bottom cards */
734-
body.docs-ndl .cards:nth-last-child(-n+2) .sectionbody {
735-
flex: 0 0 152%;
734+
body.docs-ndl .cards.two-column .sectionbody > div.sect2 {
735+
flex: 0 0 49%;
736736
}
737737

738738
body.docs-ndl body.docs-ndl .cards .sect2 .icon img {
@@ -950,7 +950,8 @@ body.docs-ndl .cards .sect2 .ulist ul li {
950950
text-align: left;
951951
}
952952

953-
body.docs-ndl .cards .sectionbody > div.sect2 {
953+
body.docs-ndl .cards .sectionbody > div.sect2,
954+
body.docs-ndl .cards.two-column .sectionbody > div.sect2 {
954955
/* min-width: 90%; */
955956
flex: 1 1 100%;
956957
}

0 commit comments

Comments
 (0)