From 86641268abf13c4605dc0d2d5700eda0d6028de5 Mon Sep 17 00:00:00 2001 From: Djordje Vlaisavljevic Date: Thu, 14 Nov 2024 17:11:23 +0000 Subject: [PATCH] Stopped HTML cards with fixed width from causing overflow in the drawer close https://linear.app/ghost/issue/AP-557/elements-in-articles-can-cause-horizontal-scrolling --- apps/admin-x-activitypub/package.json | 2 +- apps/admin-x-activitypub/src/components/articleBodyStyles.ts | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/apps/admin-x-activitypub/package.json b/apps/admin-x-activitypub/package.json index f645d930dc..ce659e18a6 100644 --- a/apps/admin-x-activitypub/package.json +++ b/apps/admin-x-activitypub/package.json @@ -1,6 +1,6 @@ { "name": "@tryghost/admin-x-activitypub", - "version": "0.3.16", + "version": "0.3.17", "license": "MIT", "repository": { "type": "git", diff --git a/apps/admin-x-activitypub/src/components/articleBodyStyles.ts b/apps/admin-x-activitypub/src/components/articleBodyStyles.ts index 7551648b4d..81f24f5181 100644 --- a/apps/admin-x-activitypub/src/components/articleBodyStyles.ts +++ b/apps/admin-x-activitypub/src/components/articleBodyStyles.ts @@ -2122,6 +2122,7 @@ headings, text, images and lists. We deal with cards lower down. */ .gh-content { font-size: var(--content-font-size, 1.7rem); letter-spacing: -0.01em; + overflow-x: hidden; } /* Default vertical spacing */