Images do not follow sizes defined on CKEditor in blog posts

Created on 16 January 2023, almost 2 years ago
Updated 25 January 2023, almost 2 years ago

Problem/Motivation

Images do not follow sizes defined on CKEditor " class="!text-blue-400 !no-underline" target="_blank" rel="nofollow" >because of a CSS rule β†’ that overrides them in the content type Blog.

Steps to reproduce

When creating/editing a blog post, add an image and use the CKEditor options to resize the image. You can set the text to be side by side with the image, but when rendering the page, the CSS rule makes the image render using 100% of the width available space.

Proposed resolution

I believe, we can keep the rule to fill 100% of the width in mobile devices, but on bigger screens, the image sizes defined on CKEditor should work.

Remaining tasks

Change styles to change sizes of images only o on mobile devices.

πŸ› Bug report
Status

Fixed

Version

2.0

Component

Code

Created by

πŸ‡§πŸ‡·Brazil mauriciopieper

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024