Unverified Commit 9d5a2cc2 authored by Ken Hawkins's avatar Ken Hawkins Committed by GitHub
Browse files

Bug: vf-divider fails to inherit vf-stack (#1723)

* Bug: vf-divider fails to inherit vf-stack

When vf-stack 3.0 stopped using `!important`, that also meant `vf-divder`'s margin top 0 was no longer being overriden.

this sorts that.

* Update CHANGELOG.md
parent 9b07b84b
### 2.7.1
* Make vf-divider respect vf-stack spacing.
* https://github.com/visual-framework/vf-core/pull/1723
### 2.7.0
* `@mixin set-type` margin-top now inherits any applicable vf-stack margin.
......
......@@ -10,5 +10,7 @@
border: none;
height: 1px;
margin-block: 0 var(--vf-divider-margin--block-end, $margin--block-end);
margin-top: #{map-get($vf-spacing-map, vf-spacing--400)}; /* IE Fallback */
margin-top: var(--vf-stack-margin, #{map-get($vf-spacing-map, vf-spacing--400)});
width: 100%;
}
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