From e51baa66ff0e74babaccc0cd306e433cf14e3581 Mon Sep 17 00:00:00 2001 From: IsaiahWitzke Date: Fri, 8 May 2026 19:45:07 +0000 Subject: [PATCH 1/2] Fix center alignment of IAM policy example label in BYOLLM docs Convert standalone bold text '**Example: AWS Bedrock minimum IAM policy**' to a proper '####' heading so Astro Starlight renders it left-aligned instead of centered. Co-Authored-By: Oz --- .../enterprise/enterprise-features/bring-your-own-llm.mdx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/content/docs/enterprise/enterprise-features/bring-your-own-llm.mdx b/src/content/docs/enterprise/enterprise-features/bring-your-own-llm.mdx index 326b731..0abad48 100644 --- a/src/content/docs/enterprise/enterprise-features/bring-your-own-llm.mdx +++ b/src/content/docs/enterprise/enterprise-features/bring-your-own-llm.mdx @@ -81,9 +81,7 @@ In the [Admin Panel](/enterprise/team-management/admin-panel/), configure which Grant your team members the necessary permissions in AWS. Use least-privilege IAM policies. -**Example: AWS Bedrock minimum IAM policy** - -```json +```json title="Example: AWS Bedrock minimum IAM policy" { "Version": "2012-10-17", "Statement": [ From 81dc74f79f92d3395bda234f176bfab5c9d2cfd2 Mon Sep 17 00:00:00 2001 From: IsaiahWitzke Date: Fri, 8 May 2026 21:15:23 +0000 Subject: [PATCH 2/2] Fix all code blocks center-aligned due to figure CSS rule The .sl-markdown-content figure rule in custom.css applied text-align: center to all figures, including the
elements that Expressive Code renders for code blocks. This caused every code block on the site to be center-aligned. Fix by scoping the rule to exclude .expressive-code figures, so only image figures (used for screenshot captions) get the centered treatment. Co-Authored-By: Oz --- src/styles/custom.css | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/styles/custom.css b/src/styles/custom.css index 6d9bfda..3f33474 100644 --- a/src/styles/custom.css +++ b/src/styles/custom.css @@ -277,8 +277,11 @@ body { Caption editorial rules (see AGENTS.md § "Image caption guidelines"): Orient the reader, don't instruct. Keep under ~20 words. No marketing - language. Don't repeat surrounding prose or list everything visible. */ -.sl-markdown-content figure { + language. Don't repeat surrounding prose or list everything visible. + + Exclude Expressive Code figures (code blocks) — they render inside a + `.expressive-code` wrapper and must not be center-aligned. */ +.sl-markdown-content figure:not(.expressive-code figure) { margin: 1.5em 0; text-align: center; }