diff --git a/assets/js/index.js b/assets/js/index.js index 86874dcff7..f6de00647e 100644 --- a/assets/js/index.js +++ b/assets/js/index.js @@ -154,7 +154,7 @@ docsearch({ protocol: 'https' }], apiKey: 'GHQK6od8KfpvTEh4YpA113gUc2dU5fGR' - }, + } }); docsearch({ inputSelector: '.td-sidebar__search .td-search-input', @@ -166,5 +166,5 @@ docsearch({ protocol: 'https' }], apiKey: 'GHQK6od8KfpvTEh4YpA113gUc2dU5fGR' - }, + } }); \ No newline at end of file diff --git a/assets/scss/_styles_project.scss b/assets/scss/_styles_project.scss index c514a067d4..ff29366baf 100644 --- a/assets/scss/_styles_project.scss +++ b/assets/scss/_styles_project.scss @@ -1298,6 +1298,24 @@ a.ais-Pagination-link:hover { flex-grow: 1; } +.ds-dataset-1, .ds-dataset-2, .ds-dataset-3 { + max-height: 500px !important; +} + +/* Add margin in front of breadcrumbs on small screens */ +@media (max-height: 600px) { + .ds-dataset-1, .ds-dataset-2, .ds-dataset-3 { + max-height: 300px !important; + } +} + +/* Add margin in front of breadcrumbs on small screens */ +@media (max-height: 400px) { + .ds-dataset-1, .ds-dataset-2, .ds-dataset-3 { + max-height: 200px !important; + } +} + // Search-autocomplete end // Make videos work without js @@ -1310,4 +1328,4 @@ a.ais-Pagination-link:hover { .row.flex-xl-nowrap { min-height: 100%; -} \ No newline at end of file +}