unlcms / project-herbie

Drupal 10 implementation at the University of Nebraska–Lincoln
https://cms.unl.edu
GNU General Public License v2.0
6 stars 7 forks source link

Remove bottom margin from group homepages #861

Open sarongebre opened 3 weeks ago

sarongebre commented 3 weeks ago

on group homepages has this applied to it .unl .dcf-main-content>:last-child:not(.dcf-bleed) { margin-bottom: 3.160493824em; } while they should be . unl.page-node-type-builder-page .dcf-main-content>:last-child:not(.dcf-bleed) { margin-bottom: 0em; } The main Body for a group homepage only has path-group class and doesnt have the page-node-type-builder-page class thats needed to zero out the bottom margin. The effect being on group homepages Ive been putting an Events band at the bottom of them and this adds that 3.16em margin of white between it and the footer. I’ve added unl.path-group .dcf-main-content>:last-child:not(.dcf-bleed) { margin-bottom: 0em; }