Skip to content

Commit 21f04af

Browse files
authored
Fixing page width overflow after bottom cards change (#276)
1 parent 2f979ab commit 21f04af

File tree

3 files changed

+14
-12
lines changed

3 files changed

+14
-12
lines changed

preview-src/docs-hub.adoc

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,15 @@
77
// :page-disablefeedback: true
88
:page-toclevels: -1
99

10-
[.display.cards.not-selectable]
10+
[.cards.not-selectable]
1111
== Developer tools documentation
1212

1313
Use Neo4j tools to query and manage your databases, import data, and create graphical visualizations.
1414

1515
=== Neo4j Bloom/Explore
1616

1717
[.icon]
18-
image:icons/ndl/science-molecule.svg[]
18+
image:icons/ndl/icon-scientist.svg[]
1919

2020
[.description]
2121
Visualize and explore graph data using natural language search and an intuitive and graphical interface.
@@ -27,7 +27,7 @@ link:{docs-home}/aura/preview/explore/introduction/[Explore (Aura)]
2727
=== Neo4j Browser/Query
2828

2929
[.icon]
30-
image:icons/ndl/data-science.svg[]
30+
image:icons/ndl/icon-scientist.svg[]
3131

3232
[.description]
3333
Write and execute Cypher queries and visualize the results in nodes and relationships.
@@ -44,7 +44,7 @@ link:{docs-home}/aura/preview/query/introduction/[Query (Aura)]
4444
Neo4j Data Importer
4545

4646
[.icon]
47-
image:icons/ndl/query-browser.svg[]
47+
image:icons/ndl/icon-scientist.svg[]
4848

4949
[.description]
5050
Learn how to model and import data to your Neo4j database.
@@ -60,7 +60,7 @@ link:{docs-home}/data-importer[]
6060
Neo4j Desktop
6161

6262
[.icon]
63-
image:icons/ndl/neo4j-tools.svg[]
63+
image:icons/ndl/icon-scientist.svg[]
6464

6565
[.description]
6666
Learn how to experience Neo4j on your local desktop.
@@ -73,7 +73,7 @@ link:{docs-home}/desktop-manual[]
7373
=== Neo4j Ops Manager
7474

7575
[.icon]
76-
image:icons/ndl/query-browser.svg[]
76+
image:icons/ndl/icon-scientist.svg[]
7777

7878
[.category]
7979
Neo4j Ops Manager

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.bottom-cards]
203203
== Other resources
204204

205205
=== Join forums and discussions

src/css/docs-ndl.css

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -588,6 +588,11 @@ body.docs-ndl .cards .sectionbody > div.sect2 {
588588
/* margin-right: 1rem; */
589589
}
590590

591+
body.docs-ndl .cards.bottom-cards .sectionbody > div.sect2 {
592+
flex: 0 1 49%;
593+
}
594+
/* margin-right: 1rem; */
595+
591596
body.docs-ndl.explainer .sectionbody > div.sect2 {
592597
flex: 0 1 49%;
593598
}
@@ -733,11 +738,6 @@ body.docs-ndl .widget.highlights:nth-of-type(even) .openblock {
733738
/* margin-right:40px; */
734739
}
735740

736-
/* For the bottom cards */
737-
body.docs-ndl .cards:nth-last-child(-n+2) .sectionbody {
738-
flex: 0 0 152%;
739-
}
740-
741741
body.docs-ndl body.docs-ndl .cards .sect2 .icon img {
742742
width: 4rem;
743743
height: 4rem;
@@ -940,6 +940,7 @@ body.docs-ndl .cards .sect2 .ulist ul li {
940940
margin: 1rem auto;
941941
}
942942

943+
body.docs-ndl .bottom-cards .sect2 > a,
943944
body.docs-ndl .cards .sect2 > a {
944945
align-items: center;
945946
}
@@ -953,6 +954,7 @@ body.docs-ndl .cards .sect2 .ulist ul li {
953954
text-align: left;
954955
}
955956

957+
body.docs-ndl .cards.bottom-cards .sectionbody > div.sect2,
956958
body.docs-ndl .cards .sectionbody > div.sect2 {
957959
/* min-width: 90%; */
958960
flex: 1 1 100%;

0 commit comments

Comments
 (0)