summaryrefslogtreecommitdiffstats
path: root/WebContent/VAADIN/themes/valo/components/_label.scss
diff options
context:
space:
mode:
authorDenis Anisimov <denis@vaadin.com>2014-11-02 13:29:51 +0200
committerPekka Hyvönen <pekka@vaadin.com>2015-05-05 07:59:06 +0000
commitc1dd73a6b9530482713475a1b5eb7c77bff23084 (patch)
tree815a374549bea7ca74c99e836d91244adbddc844 /WebContent/VAADIN/themes/valo/components/_label.scss
parentcdc296af3ce940eedbcff5bd9162d2ee0e8acae8 (diff)
downloadvaadin-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/VAADIN/themes/valo/components/_label.scss')
-rw-r--r--WebContent/VAADIN/themes/valo/components/_label.scss10
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,