From a7b3f405017307fbe8b4f6adf6c045f385fef2a0 Mon Sep 17 00:00:00 2001 From: "sentry-junior[bot]" <264270552+sentry-junior[bot]@users.noreply.github.com> Date: Thu, 19 Nov 2026 15:31:56 +0000 Subject: [PATCH 1/3] fix(docs): Stop long attribute names from overflowing on mobile MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Long dotted keys, example values, and bare URLs had no line break opportunity, so they pushed cards past the viewport and mobile browsers zoomed the whole page out. Break dotted names after each dot, let code and prose wrap when they still don't fit, and let the deprecated badge drop below a long title. Co-Authored-By: Jan Peer Stöcklmair <10677263+JPeer264@users.noreply.github.com> --- docs/src/components/AttributeCard.astro | 5 +++-- docs/src/components/AttributeLink.astro | 3 ++- docs/src/components/DottedName.astro | 12 ++++++++++++ docs/src/components/MetricCard.astro | 5 +++-- docs/src/styles/global.css | 6 ++++-- 5 files changed, 24 insertions(+), 7 deletions(-) create mode 100644 docs/src/components/DottedName.astro diff --git a/docs/src/components/AttributeCard.astro b/docs/src/components/AttributeCard.astro index 8b6b0c187..5b239c260 100644 --- a/docs/src/components/AttributeCard.astro +++ b/docs/src/components/AttributeCard.astro @@ -5,6 +5,7 @@ import OtelBadge from './OtelBadge.astro'; import TypeBadge from './TypeBadge.astro'; import AttributeLink from './AttributeLink.astro'; import InfoTooltip from './InfoTooltip.astro'; +import DottedName from './DottedName.astro'; import type { Attribute } from '../content.config'; import { parseAttributeId } from '../utils/category'; import { renderInlineMarkdown } from '../utils/markdown'; @@ -42,9 +43,9 @@ const examples = attribute.examples ?? (attribute.example !== undefined ? [attri data-pagefind-body >