Updated styling and formatting

This commit is contained in:
Sebin Nyshkim 2019-11-08 10:02:45 +01:00
parent 833d4e5402
commit 88a63a4293

View file

@ -9,10 +9,16 @@
export default {
name: "rich-figure",
props: {
imgSrc: { type: String, required: true },
imgSrc: {
type: String,
required: true
},
caption: {
type: String,
required: true
},
imgPos: String,
imgW: String,
caption: { type: String, required: true }
imgW: String
}
};
</script>
@ -37,6 +43,7 @@ figure {
}
img {
display: block;
width: 100%;
}
}
@ -54,7 +61,7 @@ figure {
&.right {
float: right;
margin: 0 0 1em 1em;
margin: 0 0 0.375em 0.75em;
}
}
}