You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ai-triagedIssue received an initial assessment through AI-powered current code and architecture checks.ai:eng-questionAI triage raised an architecture/engineering question.ai:ux-questionAI triage raised a UX / frontend question for a human to decide.bug
On this page we list all functions available. We have a lot of unused space on the right side. We could use Grid to create more columns and on smaller screens fallback to a single column like today.
Expected behavior
Use multiple columns (maybe max 3) on larger screens and 1 column on smaller screens. This will improve the visibility of the items listed.
Steps to reproduce
Open this link and click on one of the accordions.
@itsalexcm can I get your eyes on this? do you think this is something we should fix, or should we just suggest reorganizing into a table or something? note that with the applies_to badges we're straying over the page midline
Automated investigation against the current codebase. A human still needs to confirm before any code change.
Original concern
The ES|QL functions list (reference page) renders each category accordion as a single full-width column of links, wasting horizontal space; the ask is to lay the list out in multiple columns (≤3) on wide screens and collapse to one column on small screens.
Findings
src/Elastic.Markdown/Myst/Directives/Dropdown/DropdownView.cshtml:L34-L36 — dropdown body is emitted into one <div class="dropdown-content"> wrapper that just renders the inner markdown block. The functions list is ordinary block-flow markdown (a <ul>), so it fills a single full-width column.
src/Elastic.Documentation.Site/Assets/markdown/dropdown.css:L20-L22 — .dropdown-content only applies padding (px-4 pb-4). There is no column-count, CSS grid, or any multi-column rule for dropdown content anywhere — which is exactly why the list shows empty space on the right.
src/Elastic.Markdown/Myst/Directives/Admonition/AdmonitionBlock.cs:L29,L43-L44 — the dropdown's Classes is set internally only (dropdown when :open:, plain for admonitions). There is no :class: option, so an author/upstream generator cannot opt one specific dropdown into a multi-column layout without a code change.
The list content is generated upstream in elastic/elasticsearch, not authored here (the page shows category lists — Aggregate, Math, String, etc. — each item carrying applies_to badges). docs-builder owns the rendering shell + CSS, not the content, so a global CSS change would reflow every dropdown on the site, not just this list.
Maintainer thread: @shainaraskas pinged a designer (@itsalexcm) on 2026-05-20 asking whether to fix the columns or reorganize into a table, and flagged that the applies_to badges already cross the page midline — i.e., the layout choice is explicitly unresolved.
Verdict
Needs stakeholder input
The mechanical part (adding multi-column CSS) is small, but the issue is not a contained styling fix: a design decision is open (columns vs. table; how many columns and at what breakpoints; how items carrying applies_to badges should wrap/align), and an engineering decision is open (the dropdown directive has no class hook, and the content is generated cross-repo — so applying this to only the ES|QL list requires either a new opt-in mechanism or a deliberately broad global rule). The maintainer comment confirms the team is waiting on design direction.
Columns vs. a table layout? If columns, what max count (issue suggests ≤3) and breakpoints?
How should an item with applies_to badges behave in a multi-column flow (wrap, truncate, align)? The badges already cross the midline today.
Should this apply to all dropdown lists site-wide, or only the ES|QL functions list?
For engineering:
If scoped to this list: add a :class: option to the dropdown directive (AdmonitionBlock, currently sets Classes internally only) plus a scoped rule in dropdown.css, then coordinate with elastic/elasticsearch to emit that class on the generated dropdowns.
If global: add a column-count/grid rule targeting list content inside .dropdown-content in dropdown.css — simpler, but changes every dropdown on the site, so needs sign-off.
Related issues
Part of a cluster around ES|QL reference layout and dropdown UX:
Maintainers may want to plan a coherent dropdown/ES|QL-reference layout fix across these rather than one-off.
Notes
Currently labeled bug; this is really an enhancement / design request (no broken behavior, just suboptimal use of space).
No prior fix PR/commit found — git log shows recent dropdown work (#1949 applies_to, #1977 revert, #2019 title sizing) but nothing addressing multi-column content.
ai-triagedIssue received an initial assessment through AI-powered current code and architecture checks.ai:eng-questionAI triage raised an architecture/engineering question.ai:ux-questionAI triage raised a UX / frontend question for a human to decide.bug
Activity
shainaraskas commentedon May 20, 2026
@itsalexcm can I get your eyes on this? do you think this is something we should fix, or should we just suggest reorganizing into a table or something? note that with the applies_to badges we're straying over the page midline
cotti commentedon Jun 3, 2026
AI triage
Automated investigation against the current codebase. A human still needs to confirm before any code change.
Original concern
The ES|QL functions list (reference page) renders each category accordion as a single full-width column of links, wasting horizontal space; the ask is to lay the list out in multiple columns (≤3) on wide screens and collapse to one column on small screens.
Findings
src/Elastic.Markdown/Myst/Directives/Dropdown/DropdownView.cshtml:L34-L36— dropdown body is emitted into one<div class="dropdown-content">wrapper that just renders the inner markdown block. The functions list is ordinary block-flow markdown (a<ul>), so it fills a single full-width column.src/Elastic.Documentation.Site/Assets/markdown/dropdown.css:L20-L22—.dropdown-contentonly applies padding (px-4 pb-4). There is nocolumn-count, CSS grid, or any multi-column rule for dropdown content anywhere — which is exactly why the list shows empty space on the right.src/Elastic.Markdown/Myst/Directives/Admonition/AdmonitionBlock.cs:L29,L43-L44— the dropdown'sClassesis set internally only (dropdownwhen:open:,plainfor admonitions). There is no:class:option, so an author/upstream generator cannot opt one specific dropdown into a multi-column layout without a code change.elastic/elasticsearch, not authored here (the page shows category lists — Aggregate, Math, String, etc. — each item carryingapplies_tobadges). docs-builder owns the rendering shell + CSS, not the content, so a global CSS change would reflow every dropdown on the site, not just this list.applies_tobadges already cross the page midline — i.e., the layout choice is explicitly unresolved.Verdict
Needs stakeholder input
The mechanical part (adding multi-column CSS) is small, but the issue is not a contained styling fix: a design decision is open (columns vs. table; how many columns and at what breakpoints; how items carrying
applies_tobadges should wrap/align), and an engineering decision is open (the dropdown directive has no class hook, and the content is generated cross-repo — so applying this to only the ES|QL list requires either a new opt-in mechanism or a deliberately broad global rule). The maintainer comment confirms the team is waiting on design direction.Proposal
For design (@itsalexcm / UX):
applies_tobadges behave in a multi-column flow (wrap, truncate, align)? The badges already cross the midline today.For engineering:
:class:option to the dropdown directive (AdmonitionBlock, currently setsClassesinternally only) plus a scoped rule indropdown.css, then coordinate withelastic/elasticsearchto emit that class on the generated dropdowns.column-count/grid rule targeting list content inside.dropdown-contentindropdown.css— simpler, but changes every dropdown on the site, so needs sign-off.Related issues
Part of a cluster around ES|QL reference layout and dropdown UX:
ai:ux-question+ai:eng-question. Closest sibling.Maintainers may want to plan a coherent dropdown/ES|QL-reference layout fix across these rather than one-off.
Notes
bug; this is really an enhancement / design request (no broken behavior, just suboptimal use of space).git logshows recent dropdown work (#1949applies_to,#1977revert,#2019title sizing) but nothing addressing multi-column content.leemthompo commentedon Jun 17, 2026
out of date since elastic/elasticsearch#150546 landed?
shainaraskas commentedon Jun 17, 2026
Definitely! Until we have another grid use case, I think we can close this.