mirror of
https://github.com/transloadit/uppy.git
synced 2026-08-01 06:21:35 +00:00
dev example tweaks
This commit is contained in:
parent
d672c94ada
commit
6a75cb05d9
2 changed files with 7 additions and 3 deletions
|
|
@ -14,8 +14,8 @@
|
|||
|
||||
#upload-form {
|
||||
max-width: 400px;
|
||||
margin: auto;
|
||||
text-align: left;
|
||||
margin: auto;
|
||||
}
|
||||
|
||||
a {
|
||||
|
|
@ -37,8 +37,12 @@
|
|||
li {
|
||||
margin: 60px;
|
||||
}
|
||||
|
||||
.foo a {
|
||||
color: purple;
|
||||
}
|
||||
</style>
|
||||
<main>
|
||||
<main class="foo">
|
||||
<h1>Uppy is here</h1>
|
||||
|
||||
<form id="upload-form" action="/">
|
||||
|
|
|
|||
|
|
@ -20,7 +20,7 @@ const uppy = Uppy({
|
|||
.use(Dashboard, {
|
||||
trigger: '#pick-files',
|
||||
// inline: true,
|
||||
// target: 'body',
|
||||
target: '.foo',
|
||||
metaFields: [
|
||||
{ id: 'license', name: 'License', placeholder: 'specify license' },
|
||||
{ id: 'caption', name: 'Caption', placeholder: 'add caption' }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue