Add modifiers to make config form containers flush against sides.
Review Request #10441 — Created March 7, 2019 and submitted — Latest diff uploaded
The config forms containers had a rule to remove the top/bottom margins
for the first/last
.djblets-l-config-forms-containerelement within a
parent. This worked for the usage in RBCommons, where we wanted some
components (like lists) to appear toward the top/bottom of a box without
adding additional margins. This was done with
:last-childrules, which didn't work unless the layout was just
This change removes those rules and replaces them with new modifiers for
making the container flush against the top or bottom, which just removes
any margins/borders. This is easier to reason about and tweak in
Tested this with some container usage for integrations, and played with
styles in the browser.