CSS !important rule

Created on 9 November 2017, almost 7 years ago
Updated 16 October 2024, 14 days ago

Hello, I see that the included CSS contains this rule:

html.js .views-widget-views_ef_fieldset fieldset.collapsed .fieldset-wrapper {
  display: block !important;
  visibility: hidden;
}

Having an !important rule hardcoded in the module's CSS is bad practice by itself, but also I can't understand the use case of this part.
In my example, I use nested fieldsets to provide an "advanced search" functionality, and this rule results in lot of whitespace (see screenshot):

🐛 Bug report
Status

Closed: won't fix

Version

2.0

Component

Code

Created by

🇳🇴Norway efpapado

Live updates comments and jobs are added and updated live.
  • CSS

    It involves the content or handling of Cascading Style Sheets.

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