From 3d762adf5ce80f70243030bcf29683ba0a02f3f3 Mon Sep 17 00:00:00 2001 From: Ian Belanger Date: Thu, 16 Apr 2020 19:36:03 +0000 Subject: [PATCH] Bundled Themes: Twenty Twenty inline images in list blocks are not positioned correctly. Fixes the alignment of inline images in list blocks to match the way they look in the editor. Props poena, mayankmajeji, JavierCasares. Fixes #49793. git-svn-id: https://develop.svn.wordpress.org/trunk@47590 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-content/themes/twentytwenty/style-rtl.css | 4 ++++ src/wp-content/themes/twentytwenty/style.css | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/src/wp-content/themes/twentytwenty/style-rtl.css b/src/wp-content/themes/twentytwenty/style-rtl.css index e22d1ffd79..a1214bafcb 100644 --- a/src/wp-content/themes/twentytwenty/style-rtl.css +++ b/src/wp-content/themes/twentytwenty/style-rtl.css @@ -3484,6 +3484,10 @@ figure.wp-block-table.is-style-stripes { line-height: 1.4; } +.entry-content li img { + display: inline-block; +} + .entry-content h1, .entry-content h2, .entry-content h3, diff --git a/src/wp-content/themes/twentytwenty/style.css b/src/wp-content/themes/twentytwenty/style.css index 8a075b9eca..0ebfa46067 100644 --- a/src/wp-content/themes/twentytwenty/style.css +++ b/src/wp-content/themes/twentytwenty/style.css @@ -3506,6 +3506,10 @@ figure.wp-block-table.is-style-stripes { line-height: 1.4; } +.entry-content li img { + display: inline-block; +} + .entry-content h1, .entry-content h2, .entry-content h3,