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 {
|
export default {
|
||||||
name: "rich-figure",
|
name: "rich-figure",
|
||||||
props: {
|
props: {
|
||||||
imgSrc: { type: String, required: true },
|
imgSrc: {
|
||||||
|
type: String,
|
||||||
|
required: true
|
||||||
|
},
|
||||||
|
caption: {
|
||||||
|
type: String,
|
||||||
|
required: true
|
||||||
|
},
|
||||||
imgPos: String,
|
imgPos: String,
|
||||||
imgW: String,
|
imgW: String
|
||||||
caption: { type: String, required: true }
|
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
</script>
|
</script>
|
||||||
|
@ -37,6 +43,7 @@ figure {
|
||||||
}
|
}
|
||||||
|
|
||||||
img {
|
img {
|
||||||
|
display: block;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -54,7 +61,7 @@ figure {
|
||||||
|
|
||||||
&.right {
|
&.right {
|
||||||
float: 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