From 77bb7ac886bd9f82e5295323254cd9fbb8ea8a10 Mon Sep 17 00:00:00 2001 From: Sauli Tähkäpää Date: Thu, 30 Oct 2014 16:11:10 +0200 Subject: Set upload button width to 100% when immediate on Valo. (#14485) Change-Id: I473fc080c143bc242326bd6f2b819450c42ffae5 --- WebContent/VAADIN/themes/valo/components/_upload.scss | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'WebContent/VAADIN/themes/valo') diff --git a/WebContent/VAADIN/themes/valo/components/_upload.scss b/WebContent/VAADIN/themes/valo/components/_upload.scss index c301be060a..07a51f03ef 100644 --- a/WebContent/VAADIN/themes/valo/components/_upload.scss +++ b/WebContent/VAADIN/themes/valo/components/_upload.scss @@ -1,7 +1,7 @@ /** * * - * @param {string} $primary-stylename (v-upload) - + * @param {string} $primary-stylename (v-upload) - * * @group upload */ @@ -10,6 +10,10 @@ @include valo-widget-style; } + .#{$primary-stylename}-immediate .v-button { + width: 100%; + } + .#{$primary-stylename}-immediate input[type="file"] { @include opacity(0); z-index: 2; @@ -20,4 +24,4 @@ border: none; background: transparent; } -} \ No newline at end of file +} -- cgit v1.2.3