image_widget_crop.css breaks the style of other widgets

Created on 4 February 2022, about 3 years ago
Updated 2 March 2025, about 1 month ago

Problem/Motivation

image_widget_crop.css contains some very broad rules and it breaks the style of other widgets.

Steps to reproduce

  1. Use Claro.
  2. Add an ImageWidget crop widget to a form mode.
  3. Also add a File widget to the same form mode.
  4. Display the form with a screen matching max-width: 480px.
  5. Upload a file in the ImageWidget crop widget.
  6. Upload a file in the File widget.
  7. The filename in the File widget is displayed incorrectly.

Proposed resolution

The CSS rules should be prefixed to only apply to image_widget_crop widgets.

🐛 Bug report
Status

Needs review

Version

2.3

Component

User interface

Created by

🇫🇷France prudloff Lille

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