City-of-Bloomington / drupal-theme-cob

COB Theme for the drupal website
https://bloomington.in.gov
GNU Affero General Public License v3.0
2 stars 1 forks source link

Department info cards not getting flexed #211

Closed inghamn closed 1 year ago

inghamn commented 3 years ago

The info cards on Department pages are not picking up the flex layout.

https://bloomington.in.gov/engineering https://bloomington.in.gov/transportation/parking

inghamn commented 1 year ago

It seems like the info cards are still not getting flexed if there is a title on the info section.

https://bloomington.in.gov/departments/esd

inghamn commented 1 year ago

Drupal gives users the option of placing info-cards into info-lists (or not). We had attempted to write CSS that would correctly flex the info-cards whether they were in a list or not.

This turns out to not really be possible, because when they are not in a list, there is not enough markup to correcty select the DIV to be flexed.

At this point, I think the CSS needs to flex the info-cards that are in an info-list, and let bare info-cards simply take up 100% width. Most of the existing department pages do not use info-lists. I will run through the department pages and move their info-cards into an info-list, by hand.