Skip to content

Commit 07c143b

Browse files
authored
chore: fix some incorrect formatting in Lumo CSS files (#9954)
1 parent 026f809 commit 07c143b

File tree

3 files changed

+11
-24
lines changed

3 files changed

+11
-24
lines changed

packages/vaadin-lumo-styles/src/components/checkbox.css

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -191,10 +191,9 @@
191191

192192
/* Disable hover for touch devices */
193193
@media (pointer: coarse) {
194-
/* prettier-ignore */
195194
:host(:not([checked]):not([indeterminate]):not([disabled]):not([readonly]):not([invalid]):hover) [part='checkbox'] {
196-
background: var(--vaadin-checkbox-background, var(--lumo-contrast-20pct));
197-
}
195+
background: var(--vaadin-checkbox-background, var(--lumo-contrast-20pct));
196+
}
198197
}
199198

200199
/* Active */

packages/vaadin-lumo-styles/src/components/date-picker-overlay.css

Lines changed: 2 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -7,20 +7,8 @@
77
[part='overlay'] {
88
display: flex;
99
flex: auto;
10-
11-
/*
12-
Width:
13-
date cell widths
14-
+ month calendar side padding
15-
+ year scroller width
16-
*/
17-
/* prettier-ignore */
18-
width:
19-
calc(
20-
var(--lumo-size-m) * 7
21-
+ var(--lumo-space-xs) * 2
22-
+ 57px
23-
);
10+
/* Width: date cell widths + month calendar side padding + year scroller width */
11+
width: calc(var(--lumo-size-m) * 7 + var(--lumo-space-xs) * 2 + 57px);
2412
height: 100%;
2513
max-height: calc(var(--lumo-size-m) * 14);
2614
overflow: hidden;

packages/vaadin-lumo-styles/src/components/menu-bar-button.css

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -95,19 +95,19 @@
9595

9696
/* prettier-ignore */
9797
:host([theme~='dropdown-indicators']:not([slot='overflow']):not([theme~='icon'])[aria-haspopup]) [part='suffix']::after {
98-
font-family: lumo-icons;
99-
content: var(--lumo-icons-dropdown);
100-
}
98+
font-family: lumo-icons;
99+
content: var(--lumo-icons-dropdown);
100+
}
101101

102102
/* prettier-ignore */
103103
:host([theme~='dropdown-indicators']:not([slot='overflow']):not([theme~='icon'])[theme~='tertiary'][aria-haspopup]) [part='suffix'] {
104-
inset-inline-start: 0.05em;
105-
}
104+
inset-inline-start: 0.05em;
105+
}
106106

107107
/* prettier-ignore */
108108
:host([theme~='dropdown-indicators']:not([slot='overflow']):not([theme~='icon'])[theme~='tertiary-inline'][aria-haspopup]) [part='suffix'] {
109-
inset-inline-start: 0;
110-
}
109+
inset-inline-start: 0;
110+
}
111111

112112
/* RTL styles */
113113
:host([dir='rtl']) {

0 commit comments

Comments
 (0)