Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 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
1 change: 1 addition & 0 deletions src/css/footer.css
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ footer.footer {
color: var(--body-faint-font-color);
font-size: var(--secondary-font-size);
border-top: 1px solid var(--nav-border-color);
min-height: 60px;
}

footer nav.footer-nav {
Expand Down
6 changes: 6 additions & 0 deletions src/css/main.css
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
main.article {
min-height: calc(100vh - var(--body-top) - 60px);
display: flex;
flex-direction: column;
}

@media screen and (max-width: 1024px) {
aside.toc.sidebar {
display: none;
Expand Down
12 changes: 8 additions & 4 deletions src/css/search-bump.css
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,14 @@ article.search .ais-Heading > a {
padding: 12px;
}

/* Reserve space for Algolia preview panel to prevent CLS */
.aa-Preview.aa-Column.doc {
min-width: 350px;
max-width: 600px;
min-height: 400px;
margin-top: 0;
}

.aa-Header .ask-ai {
display: flex;
align-items: center;
Expand Down Expand Up @@ -408,10 +416,6 @@ kbd.algolia-command {
text-decoration: none;
}

.aa-Preview.aa-Column.doc {
margin-top: 0;
}

.aa-ItemContentTitle.result-type {
font-size: small;
padding: 0 6px;
Expand Down
12 changes: 8 additions & 4 deletions src/css/search.css
Original file line number Diff line number Diff line change
Expand Up @@ -242,6 +242,14 @@ article.search .ais-Breadcrumbs {
margin-left: 5px;
}

/* Reserve space for Algolia preview panel to prevent CLS */
.aa-Preview.aa-Column.doc {
min-width: 350px;
max-width: 600px;
min-height: 400px;
margin-top: 0;
}

article.search .ais-Pagination-list {
justify-content: space-evenly;
}
Expand Down Expand Up @@ -385,10 +393,6 @@ kbd.algolia-command {
text-decoration: none;
}

.aa-Preview.aa-Column.doc {
margin-top: 0;
}

.aa-ItemContentTitle.result-type {
font-size: small;
padding: 0 6px;
Expand Down
5 changes: 5 additions & 0 deletions src/partials/head.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,10 @@
{{> head-title}}
{{> head-info}}
{{> head-styles}}
<link rel="preload" href="{{{@root.uiRootPath}}}/font/calibre-Regular.woff2" as="font" type="font/woff2" crossorigin>
<link rel="preload" href="{{{@root.uiRootPath}}}/font/calibre-medium.woff2" as="font" type="font/woff2" crossorigin>
<link rel="preload" href="{{{@root.uiRootPath}}}/font/calibre-bold.woff2" as="font" type="font/woff2" crossorigin>
<link rel="preload" href="{{{@root.uiRootPath}}}/font/calibre-semibold.woff2" as="font" type="font/woff2" crossorigin>
<link rel="preload" href="{{{@root.uiRootPath}}}/font/Patron-Medium.woff2" as="font" type="font/woff2" crossorigin>
{{> head-meta}}
{{> head-icons}}
2 changes: 1 addition & 1 deletion src/partials/header-content.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
>
<div class="navbar-brand" id="brand">
{{#with site.homeUrl}}
<a class="navbar-item" href="{{{relativize this}}}" aria-label="Go to home page"><img src="{{{@root.uiRootPath}}}/img/redpanda-docs-logo-white.svg" width="auto" height="22px" alt="Redpanda logo"/></a>
<a class="navbar-item" href="{{{relativize this}}}" aria-label="Go to home page"><img src="{{{@root.uiRootPath}}}/img/redpanda-docs-logo-white.svg" width="150" height="22" style="aspect-ratio:150/22;" alt="Redpanda logo"/></a>
{{/with}}
<button class="navbar-burger" data-target="topbar-nav" aria-label="Header navigation menu">
<span></span>
Expand Down
Loading