diff options
author | Denis Anisimov <denis@vaadin.com> | 2014-11-02 13:29:51 +0200 |
---|---|---|
committer | Pekka Hyvönen <pekka@vaadin.com> | 2015-05-05 07:59:06 +0000 |
commit | c1dd73a6b9530482713475a1b5eb7c77bff23084 (patch) | |
tree | 815a374549bea7ca74c99e836d91244adbddc844 /WebContent | |
parent | cdc296af3ce940eedbcff5bd9162d2ee0e8acae8 (diff) | |
download | vaadin-framework-c1dd73a6b9530482713475a1b5eb7c77bff23084.tar.gz vaadin-framework-c1dd73a6b9530482713475a1b5eb7c77bff23084.zip |
Margin for header label in form should override any other rule (#14775).
Change-Id: I6db8f01cf4842f17db3ee9509a0b7873dfd70ddd
Diffstat (limited to 'WebContent')
-rw-r--r-- | WebContent/VAADIN/themes/valo/components/_label.scss | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/WebContent/VAADIN/themes/valo/components/_label.scss b/WebContent/VAADIN/themes/valo/components/_label.scss index cfec847271..3057aaa40f 100644 --- a/WebContent/VAADIN/themes/valo/components/_label.scss +++ b/WebContent/VAADIN/themes/valo/components/_label.scss @@ -183,6 +183,16 @@ $v-letter-spacing--h4: 0 !default; } } + .v-verticallayout > .v-slot:first-child .v-formlayout-contentcell, + .v-verticallayout > div > .v-slot:first-child .v-formlayout-contentcell { + h1, .#{$primary-stylename}-h1, + h2, .#{$primary-stylename}-h2, + h3, .#{$primary-stylename}-h3, + h4, .#{$primary-stylename}-h4 { + margin-top: -0.5em; + } + } + h1, .#{$primary-stylename}-h1, h2, .#{$primary-stylename}-h2, h3, .#{$primary-stylename}-h3, |