Fomantic-UI icon indicating copy to clipboard operation
Fomantic-UI copied to clipboard

[dropdown] Height variation is not working

Open unarist opened this issue 10 months ago • 1 comments

Bug Report

Height variation of the selection dropdown (described in here) is not working in the latest version.

My guess is...

  • https://github.com/fomantic/Fomantic-UI/pull/2883 adds :not(.unlimited) selector to default max-height rules, which results higher CSS specificity
  • Therefore, long very long rules are overridden by default max-height rules

Steps to reproduce

  1. Add dropdown with long or very long CSS classes

Expected result

Dropdown menus have different heights according to long or very long classes.

Actual result

Dropdown menus are the same height even if you specify long or very long classes.

Testcase

2.9.2 https://jsfiddle.net/unarist/dfcw0rbq/8/ 2.9.3 https://jsfiddle.net/unarist/dfcw0rbq/9/

Screenshot (if possible)

Version

2.9.3

unarist avatar Apr 20 '24 16:04 unarist

Fixed by #3036

lubber-de avatar Apr 20 '24 17:04 lubber-de