Skip to content

Commit

Permalink
Override Blacklight changed CSS to put .constraints-container back to…
Browse files Browse the repository at this point in the history
… display:block

We had written some custom CSS for display:block that doesn't work when BL 7.20.0 changes to display:flex. The display:flex also causes some other display we find undesirable. projectblacklight/blacklight#2552

We'll just stick with display:block at least for now, although diverging from Blacklight CSS further increases possible maintenance risk.

Ref #1478
  • Loading branch information
jrochkind committed Nov 23, 2021
1 parent 38a6ae5 commit da6c030
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions app/assets/stylesheets/local/results_constraints.scss
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,12 @@
margin-top: -1 * (1.375 * $navbar-margin-bottom) / 2; // dunno, but matches chf_sufia
line-height: 2.5;

// Blacklight 7.20.0 changed this to display:flex, which messes up
// some our custom styles written for display:block, and has other
// as-of-yet unsolved problems too. https://github.com/projectblacklight/blacklight/issues/2552
// Make it display:block for our custom styling again.
display: block;

padding-top: 0;
padding-bottom: 0;

Expand Down

0 comments on commit da6c030

Please sign in to comment.