Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
at.layout sets margin like this
.content-inner .block {
margin:0
}
making it impossible to do:
.block {
margin-bottom: 10px;
margin-top: 10px;
}
i thought about that for a while but i could not figure out why all blocks inside .content inner get their margin reset.
(i know how to fix and hack in everything, so this is not a support request HOW to do xyz). Only thinking about the flow/logic
Comments
Comment #1
Jeff Burnz CreditAttribution: Jeff Burnz commentedReally I think that's a bug, an artifact left over from experimentation or debug code left in the theme. There is no real reason afaikt to reset bottom margin on these blocks (be default).
This would have been at some stage
.content-inner .block-inner {...}
which I probably changed to .block as part of experimentation.Comment #2
Jeff Burnz CreditAttribution: Jeff Burnz commentedFixed in the latest commit to DEV.
Cheers.
Comment #3
Jeff Burnz CreditAttribution: Jeff Burnz commented