This is an automated email from the ASF dual-hosted git repository.
davidarthur pushed a commit to branch markdown
in repository https://gitbox.apache.org/repos/asf/kafka-site.git
The following commit(s) were added to refs/heads/markdown by this push:
new 9a257d010 Make release dropdown scrollable, committer page layout
better (#735)
9a257d010 is described below
commit 9a257d0103b6c764defff9a8d9f499d363611417
Author: Harish Vishwanath <[email protected]>
AuthorDate: Mon Oct 27 18:02:49 2025 -0500
Make release dropdown scrollable, committer page layout better (#735)
---
assets/scss/_variables_project.scss | 3 ---
assets/scss/_variables_project_after_bs.scss | 12 ++++++++++--
content/en/_index.md | 2 +-
layouts/shortcodes/about/committers.html | 6 +++---
4 files changed, 14 insertions(+), 9 deletions(-)
diff --git a/assets/scss/_variables_project.scss
b/assets/scss/_variables_project.scss
index 1deb4d4b4..2163c0f58 100644
--- a/assets/scss/_variables_project.scss
+++ b/assets/scss/_variables_project.scss
@@ -6,9 +6,6 @@ Add styles or override variables from the theme here.
$primary: #ffffff;
-.td-search__input:not(:focus) {
- background: #736e6e1d;
-}
// Layout
.l-container--padded {
diff --git a/assets/scss/_variables_project_after_bs.scss
b/assets/scss/_variables_project_after_bs.scss
index c6a2b2dda..03ae0bbd2 100644
--- a/assets/scss/_variables_project_after_bs.scss
+++ b/assets/scss/_variables_project_after_bs.scss
@@ -14,7 +14,15 @@ $theme-colors: map-merge($theme-colors, $custom-colors);
--bs-navbar-active-color: rgb(49, 12, 236);
}
-.td-search__input:not(:focus) {
- background: #736e6e1d;
+
+// Make the releases dropdown scrollable
+ul.dropdown-menu {
+ max-height: 600px; /* Adjust this value as needed */
+ overflow-y: scroll;
+}
+
+.td-navbar .td-search__input:not(:focus) {
+ background: #bdbdbd;
+ border: 1px solid #bdbdbd;
}
diff --git a/content/en/_index.md b/content/en/_index.md
index af4aca4f7..41b2ba048 100644
--- a/content/en/_index.md
+++ b/content/en/_index.md
@@ -4,7 +4,7 @@ title: Apache Kafka
{{% blocks/cover image_anchor="top" height="full" color="primary" %}}
{{< figure src="/logos/kafka-logo-tall.png" >}}
-<a class="btn btn-lg btn-primary me-3 mb-4" href="/39/">
+<a class="btn btn-lg btn-primary me-3 mb-4" href="{{< param
"url_latest_version" >}}">
Learn More <i class="fas fa-arrow-alt-circle-right ms-2"></i>
</a>
<a class="btn btn-lg btn-secondary me-3 mb-4" href="/community/downloads/">
diff --git a/layouts/shortcodes/about/committers.html
b/layouts/shortcodes/about/committers.html
index 06a820b4e..de1ec4efd 100644
--- a/layouts/shortcodes/about/committers.html
+++ b/layouts/shortcodes/about/committers.html
@@ -1,12 +1,12 @@
<div class="row">
{{ $index := 0 }}
{{ range .Site.Data.committers }}
- <div class="col-md-6 mb-4">
+ <div class="col-md-4 mb-4">
<div class="card h-100">
{{ if .image }}
<img class="card-img-top" src="{{ .image }}" alt="{{ .name }}">
{{ end }}
- <div class="card-body">
+ <div class="card-body" style="padding: 0.75rem;">
<h5 class="card-title">{{ .name }}</h5>
<p class="card-text">{{ .title }}</p>
<p class="card-text">
@@ -27,7 +27,7 @@
</div>
</div>
{{ $index = add $index 1 }}
- {{ if eq (mod $index 2) 0 }}
+ {{ if eq (mod $index 3) 0 }}
</div><div class="row">
{{ end }}
{{ end }}