From 554be43643f33ba2b2b61eefc561f184c86ab020 Mon Sep 17 00:00:00 2001 From: Bhuvansh855 Date: Wed, 27 May 2026 12:20:53 +0530 Subject: [PATCH] fix(docs-infra): improve inline code layout Remove inline-block layout behavior from inline code elements to improve wrapping and spacing in multiline documentation paragraphs. (cherry picked from commit fdf0bf9a62990f0c0e6014d738cda183431c7680) --- adev/shared-docs/styles/docs/_code.scss | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/adev/shared-docs/styles/docs/_code.scss b/adev/shared-docs/styles/docs/_code.scss index f0d95a957bb..6e33f4b4c8f 100644 --- a/adev/shared-docs/styles/docs/_code.scss +++ b/adev/shared-docs/styles/docs/_code.scss @@ -87,8 +87,7 @@ $code-font-size: 0.875rem; -webkit-background-clip: text; color: transparent; max-width: max-content; - width: 100%; - display: inline-block; + display: inline; &::before { content: '';