Hello everyone
How to style the upload button of a single click upload to look like a link instead of a button?
In case of a simple button it would be easy , but how to do this. with the button of a single-click upload component?
Thank is advance
Hello everyone
How to style the upload button of a single click upload to look like a link instead of a button?
In case of a simple button it would be easy , but how to do this. with the button of a single-click upload component?
Thank is advance
Hi,
The button within the upload is just like a normal button, but unfortunately the stylename does not propagate from the upload to the inner button, so you’ll basically have to copy the styles for the link-style button and prefix them to suit.
In this example I said upload.setStyleName(“myupload”) and applied some styles to the button within the upload:
.myupload .v-button,
.myupload .v-button .v-button-wrap {
background: transparent none;
}
.myupload .v-button .v-button-caption {
text-decoration: underline;
}
Best Regards,
Marc