diff options
author | Artur Signell <artur@vaadin.com> | 2013-01-04 13:42:08 +0200 |
---|---|---|
committer | Artur Signell <artur@vaadin.com> | 2013-01-04 17:30:51 +0200 |
commit | 228267306146facd7d4f8ec7be3b22504a924bf7 (patch) | |
tree | dd244ae60713da94081a740c62d630310ad8363f /WebContent/VAADIN/themes/base | |
parent | fb68bd53035fdd9cf0448623d5f6867fe17bab64 (diff) | |
download | vaadin-framework-228267306146facd7d4f8ec7be3b22504a924bf7.tar.gz vaadin-framework-228267306146facd7d4f8ec7be3b22504a924bf7.zip |
Ensure popup datefield width setting works in all themes (#10485)
Change-Id: I9f0891fb363e49d59b5ab2b1af53ba4bf9bca21e
Diffstat (limited to 'WebContent/VAADIN/themes/base')
-rw-r--r-- | WebContent/VAADIN/themes/base/datefield/datefield.scss | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/WebContent/VAADIN/themes/base/datefield/datefield.scss b/WebContent/VAADIN/themes/base/datefield/datefield.scss index 21f544cb72..4099123764 100644 --- a/WebContent/VAADIN/themes/base/datefield/datefield.scss +++ b/WebContent/VAADIN/themes/base/datefield/datefield.scss @@ -14,7 +14,12 @@ .#{$primaryStyleName}-button { cursor: pointer; + vertical-align: top; +} +.v-has-width > input.#{$primaryStyleName}-textfield { + width: 100%; } + .#{$primaryStyleName}-prompt .#{$primaryStyleName}-textfield { color: #999; font-style: italic; @@ -80,6 +85,11 @@ .#{$primaryStyleName}-popup { background: #fff; } +.#{$primaryStyleName}-popupcalendar input.#{$primaryStyleName}-textfield { + -webkit-box-sizing: border-box; + -moz-box-sizing: border-box; + box-sizing: border-box; +} /* Disabled by default .#{$primaryStyleName}-error .v-textfield, .#{$primaryStyleName}-error .#{$primaryStyleName}-calendarpanel { |