Skip to content

Commit

Permalink
Revert "Add class for two-column cards"
Browse files Browse the repository at this point in the history
This reverts commit c0090cd.
  • Loading branch information
recrwplay committed Oct 24, 2024
1 parent c0090cd commit cd36f07
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion preview-src/docs-ndl.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ xref:tutorials:index.adoc[All tutorials]
--


[.cards.icon-s.align-center.two-column]
[.cards.icon-s.align-center]
== Other resources

=== Join forums and discussions
Expand Down
7 changes: 3 additions & 4 deletions src/css/docs-ndl.css
Original file line number Diff line number Diff line change
Expand Up @@ -731,8 +731,8 @@ body.docs-ndl .widget.highlights:nth-of-type(even) .icon {
} */

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

body.docs-ndl body.docs-ndl .cards .sect2 .icon img {
Expand Down Expand Up @@ -950,8 +950,7 @@ body.docs-ndl .cards .sect2 .ulist ul li {
text-align: left;
}

body.docs-ndl .cards .sectionbody > div.sect2,
body.docs-ndl .cards.two-column .sectionbody > div.sect2 {
body.docs-ndl .cards .sectionbody > div.sect2 {
/* min-width: 90%; */
flex: 1 1 100%;
}
Expand Down

0 comments on commit cd36f07

Please sign in to comment.