Closed (fixed)
Project:
Client-side Hierarchical Select
Version:
8.x-2.x-dev
Component:
Code
Priority:
Minor
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
3 Mar 2021 at 19:32 UTC
Updated:
17 Mar 2021 at 21:59 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
bernardm28 commentedComment #3
br0kenI'm unable to find
has-descriptionpiece in Drupal core and assume the issue exists only with your custom theme, turning it into a bug in a particular implementation but not in CSHS.I found the small issue only for Claro (experimental theme) where classes from
cshs_menu_link.cssdon't match what theme provides.Comment #4
br0kenForgot to attach the proofs.
Comment #5
utcwebdev commentedThe wrapper seems to be related to Thunder Admin, or possibly its parent, Seven. I don't see the same behavior when Claro is used as the admin theme, on the same site/codebase. The wrapper div and the associated flex style looks like it is coming from Thunder Admin's form-element.css (see attached screenshot).
With Claro set as the admin theme, the select group stacks vertically (see screenshot).
Comment #6
br0kenPushed these to 2.x & 3.x accordingly:
The changed selectors guarantee the matching elements across all core themes.
Comment #7
br0kenComment #8
bernardm28 commentedThat fix did not work for me.
I was working on a patch in the meantime. Take a look.
Thanks for the quick reply!
Comment #9
bernardm28 commentedThe second pictures show how it looks after. It set the flex assign by the description label to flex-direction column and it uses box-sizing to ensure the dropdown symbol stays in place and does not have an issue with Thunder admin theme or others. Number #9 is the after picture.
Comment #10
bernardm28 commentedComment #11
br0kenI'm sorry, but we cannot include fixes for everything in the module. You should be using that CSS on your own.
Comment #12
bernardm28 commentedThat's fine, tks for the heads up though.
This last version merged both your code and the code that works for Thunder admin.
In case someone ask or it becomes another issue.
I tested with Claro and Thunder distribution 3.5.7