Skip to content

Commit 5fdf332

Browse files
committed
small fixes
1 parent 5c18559 commit 5fdf332

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

src/components/AddImageBlock.vue

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,10 @@
1616
outputFormat="verbose"
1717
@input="setImage"
1818
>
19-
<label for="fileInput" slot="upload-label">
19+
<label
20+
for="fileInput"
21+
slot="upload-label"
22+
class="fileinput-label">
2023
<figure>
2124
<svg
2225
xmlns="http://www.w3.org/2000/svg"
@@ -102,4 +105,10 @@ export default {
102105
#fileInput {
103106
display: none;
104107
}
108+
.img-preview {
109+
width: 100%;
110+
}
111+
.fileinput-label {
112+
display: block;
113+
}
105114
</style>

0 commit comments

Comments
 (0)