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
This commit is contained in:
Djordje Vlaisavljevic 2024-11-14 17:11:23 +00:00
parent 6bf69b6a07
commit 86641268ab
2 changed files with 2 additions and 1 deletions

View File

@ -1,6 +1,6 @@
{ {
"name": "@tryghost/admin-x-activitypub", "name": "@tryghost/admin-x-activitypub",
"version": "0.3.16", "version": "0.3.17",
"license": "MIT", "license": "MIT",
"repository": { "repository": {
"type": "git", "type": "git",

View File

@ -2122,6 +2122,7 @@ headings, text, images and lists. We deal with cards lower down. */
.gh-content { .gh-content {
font-size: var(--content-font-size, 1.7rem); font-size: var(--content-font-size, 1.7rem);
letter-spacing: -0.01em; letter-spacing: -0.01em;
overflow-x: hidden;
} }
/* Default vertical spacing */ /* Default vertical spacing */