Display list items correctly in text blocks
Resolves MS-486
This commit is contained in:
parent
ff7e5ad1f6
commit
bf850198f7
|
|
@ -21,10 +21,18 @@
|
|||
</script>
|
||||
|
||||
<style scoped lang="scss">
|
||||
@import "~styles/_variables.scss";
|
||||
@import "~styles/helpers";
|
||||
|
||||
.text-block {
|
||||
margin-bottom: $medium-spacing; // if calc is not supported
|
||||
margin-bottom: calc(#{$large-spacing} - 0.25rem); // to offset the 1.5 line height, which leaves a padding
|
||||
|
||||
/deep/ ul {
|
||||
@include list-parent;
|
||||
}
|
||||
|
||||
/deep/ li {
|
||||
@include list-child;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
|
|
|||
Loading…
Reference in New Issue