Skip to content

Commit d68e08f

Browse files
bwajtrDiegoCardoso
andauthored
fix: set only vertical margins of headings to zero (#5696)
Co-authored-by: Diego Cardoso <diego@vaadin.com>
1 parent 57a8caf commit d68e08f

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

‎packages/confirm-dialog/theme/lumo/vaadin-confirm-dialog-styles.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ registerStyles(
88
[part='header'] ::slotted(h3) {
99
margin-top: 0 !important;
1010
margin-bottom: 0 !important;
11-
margin-inline-start: calc(var(--lumo-space-l) - var(--lumo-space-m)) !important;
11+
margin-inline-start: calc(var(--lumo-space-l) - var(--lumo-space-m));
1212
}
1313
1414
[part='message'] {

‎packages/crud/theme/lumo/vaadin-crud-styles.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ registerStyles(
130130
[part='header'] ::slotted(h3) {
131131
margin-top: 0 !important;
132132
margin-bottom: 0 !important;
133-
margin-inline-start: var(--lumo-space-s) !important;
133+
margin-inline-start: var(--lumo-space-s);
134134
}
135135
`,
136136
],

‎packages/vaadin-lumo-styles/typography.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ const typography = css`
5454
:where(h1, h2, h3, h4, h5, h6) {
5555
font-weight: 600;
5656
line-height: var(--lumo-line-height-xs);
57-
margin: 0;
57+
margin-block: 0;
5858
}
5959
6060
:where(h1) {

0 commit comments

Comments
 (0)