Skip to content

Commit cd36f07

Browse files
committed
Revert "Add class for two-column cards"
This reverts commit c0090cd.
1 parent c0090cd commit cd36f07

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
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.two-column]
202+
[.cards.icon-s.align-center]
203203
== Other resources
204204

205205
=== Join forums and discussions

src/css/docs-ndl.css

Lines changed: 3 additions & 4 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.two-column .sectionbody > div.sect2 {
735-
flex: 0 0 49%;
734+
body.docs-ndl .cards:nth-last-child(-n+2) .sectionbody {
735+
flex: 0 0 152%;
736736
}
737737

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

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

0 commit comments

Comments
 (0)