This is an automated email from the ASF dual-hosted git repository. dashorst pushed a commit to branch asf-site in repository https://gitbox.apache.org/repos/asf/wicket-site.git
commit 13e9d9082f0de78340227248d43762cf24036109 Author: Martijn Dashorst <[email protected]> AuthorDate: Sun Nov 1 21:32:06 2026 +0100 Fit tables and code blocks to the text, and keep search results on top A Markdown table is a block so that a wide one scrolls on its own, which made its ink rule run the width of the reading column while its rows took only the width of their content. The table now takes the width of its rows, up to the column. Code blocks and the copy bar above them stop at the measure of the text, as paragraphs do; longer lines scroll inside the block. The title band isolates its own stacking context, so the z-index of the search results inside it counted only within the band, and the rail and the numbered beads below it were painted over the results. The band now sits above them, and below the masthead. Co-Authored-By: Claude Opus 5.5 <[email protected]> --- _sass/ribbon/_page.scss | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/_sass/ribbon/_page.scss b/_sass/ribbon/_page.scss index ba811aa9..57335b68 100644 --- a/_sass/ribbon/_page.scss +++ b/_sass/ribbon/_page.scss @@ -3,7 +3,7 @@ // ---------------------------------------------------------------- title band on the season's photograph -.page-sign { position: relative; isolation: isolate; } +.page-sign { position: relative; isolation: isolate; z-index: 3; } .page-sign-inner { position: relative; width: 100%; max-width: var(--max); margin: 0 auto; min-height: 220px; @@ -149,6 +149,7 @@ body > main { flex: 1 0 auto; } > :first-child { margin-top: 0; } p, ul:not([class]), ol:not([class]), dl:not([class]), blockquote, h1, h2, h3, h4, h5, h6 { max-width: var(--measure); } + div.highlight, figure.highlight, > pre, .guide-copy-bar { max-width: var(--measure); } h1, h2 { margin: 3.25rem 0 .9rem; font: 700 clamp(1.75rem, 2.6vw, 2.25rem)/1.1 var(--serif); letter-spacing: -.015em; } h3 { margin: 2.25rem 0 .55rem; font: 700 1.45rem/1.2 var(--serif); } @@ -245,7 +246,7 @@ figure.highlight pre { margin: 0; padding: 14px 16px; } // Markdown tables scroll inside their own box rather than squeezing their code or the page. .page-content table:not([class]), .section-body table:not([class]), -.hub-body table:not([class]) { display: block; overflow-x: auto; } +.hub-body table:not([class]) { display: block; width: max-content; max-width: 100%; overflow-x: auto; } // ---------------------------------------------------------------- buttons
