Skip to content

Commit d8fb7a0

Browse files
authored
refactor!: remove no longer needed wrapper around scrollers slots (#9364)
1 parent 22ff5a4 commit d8fb7a0

File tree

3 files changed

+2
-13
lines changed

3 files changed

+2
-13
lines changed

packages/date-picker/src/vaadin-date-picker-overlay-content-styles.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -52,10 +52,6 @@ export const overlayContentStyles = css`
5252
display: flex;
5353
}
5454
55-
#scrollers {
56-
display: contents;
57-
}
58-
5955
::slotted([slot='years']) {
6056
visibility: hidden;
6157
}

packages/date-picker/src/vaadin-date-picker-overlay-content.js

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -46,10 +46,8 @@ class DatePickerOverlayContent extends DatePickerOverlayContentMixin(
4646
</div>
4747
</div>
4848
49-
<div id="scrollers">
50-
<slot name="months"></slot>
51-
<slot name="years"></slot>
52-
</div>
49+
<slot name="months"></slot>
50+
<slot name="years"></slot>
5351
5452
<div @touchend="${this._preventDefault}" role="toolbar" part="toolbar">
5553
<slot name="today-button"></slot>

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

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -84,11 +84,6 @@
8484
--_lumo-date-picker-year-opacity: 1;
8585
}
8686

87-
/* TODO unsupported selector */
88-
#scrollers {
89-
display: contents;
90-
}
91-
9287
:host([desktop]) ::slotted([slot='years']),
9388
:host([years-visible]) ::slotted([slot='years']) {
9489
visibility: visible;

0 commit comments

Comments
 (0)