Updated styling and formatting
This commit is contained in:
parent
833d4e5402
commit
88a63a4293
1 changed files with 11 additions and 4 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue