Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixing page width overflow after bottom cards change #276

Merged
merged 4 commits into from
Oct 28, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions preview-src/docs-hub.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,15 @@
// :page-disablefeedback: true
:page-toclevels: -1

[.display.cards.not-selectable]
[.cards.not-selectable]
== Developer tools documentation

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

=== Neo4j Bloom/Explore

[.icon]
image:icons/ndl/science-molecule.svg[]
image:icons/ndl/icon-scientist.svg[]

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

[.icon]
image:icons/ndl/data-science.svg[]
image:icons/ndl/icon-scientist.svg[]

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

[.icon]
image:icons/ndl/query-browser.svg[]
image:icons/ndl/icon-scientist.svg[]

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

[.icon]
image:icons/ndl/neo4j-tools.svg[]
image:icons/ndl/icon-scientist.svg[]

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

[.icon]
image:icons/ndl/query-browser.svg[]
image:icons/ndl/icon-scientist.svg[]

[.category]
Neo4j Ops Manager
Expand Down
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]
[.cards.bottom-cards]
== Other resources

=== Join forums and discussions
Expand Down
12 changes: 7 additions & 5 deletions src/css/docs-ndl.css
Original file line number Diff line number Diff line change
Expand Up @@ -588,6 +588,11 @@ body.docs-ndl .cards .sectionbody > div.sect2 {
/* margin-right: 1rem; */
}

body.docs-ndl .cards.bottom-cards .sectionbody > div.sect2 {
flex: 0 1 49%;
}
/* margin-right: 1rem; */

body.docs-ndl.explainer .sectionbody > div.sect2 {
flex: 0 1 49%;
}
Expand Down Expand Up @@ -733,11 +738,6 @@ body.docs-ndl .widget.highlights:nth-of-type(even) .openblock {
/* margin-right:40px; */
}

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

body.docs-ndl body.docs-ndl .cards .sect2 .icon img {
width: 4rem;
height: 4rem;
Expand Down Expand Up @@ -940,6 +940,7 @@ body.docs-ndl .cards .sect2 .ulist ul li {
margin: 1rem auto;
}

body.docs-ndl .bottom-cards .sect2 > a,
body.docs-ndl .cards .sect2 > a {
align-items: center;
}
Expand All @@ -953,6 +954,7 @@ body.docs-ndl .cards .sect2 .ulist ul li {
text-align: left;
}

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