Commit 47ecae4c authored by Lyza Danger Gardner's avatar Lyza Danger Gardner Committed by Lyza Gardner

Add utility class to provide margins for items in the sidebar

Components that appear in the sidebar are currently responsible for
applying their own bottom-margin to keep things equally spaced.

Margins (spacing) should eventually be applied by the parent element,
but until then, a utility class will ensure that we maintain the same
spacing, as we move to using shared components.
parent 35a56ba1
...@@ -89,3 +89,15 @@ ...@@ -89,3 +89,15 @@
.u-color-text--muted { .u-color-text--muted {
color: var.$color-text--light; color: var.$color-text--light;
} }
// TODO: This is a temporary utility class to allow elements in the sidebar
// (e.g. panels, thread cards, etc.)
// to apply margins such that they are evenly spaced. In the future, the
// sidebar markup (DOM structure) should be reorganized and consolidated such
// that is possible to apply vertical-spacing rules to the sidebar container
// (these rules set margins on immediate-child elements).
// This class should be removed once patterns are available for vertical spacing
// and the sidebar element structure can be adjusted.
.u-sidebar-container {
margin-bottom: 1em;
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment