Skip to content

Commit 49f5afc

Browse files
authored
fix(ui5-datetime-picker): ensure value state header spans full popover width (#13294)
## Problem The `value-state` bar at the top of the DateTimePicker popover wasn't stretching to fill its full width. The reason behind that was `ValueStateMessage.css` capping the element with `max-width`, which is fine for narrow components like Input or DatePicker but too restrictive for the wider `DateTimePicker` popover. So we overrode those constraints in DateTimePickerPopover.css and removed the `max-width` restriction.
1 parent 359fe49 commit 49f5afc

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

packages/main/src/themes/DateTimePickerPopover.css

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,9 @@
44
}
55

66
:host .ui5-date-picker-popover:not([on-phone]) .ui5-popover-header {
7-
width: 20rem;
7+
width: 100%;
8+
max-width: 100%;
9+
display: block;
810
}
911

1012
.ui5-dt-picker-content {

0 commit comments

Comments
 (0)