Skip to content

Commit

Permalink
[datetime] fix: increase caption select CSS specificity (#6295)
Browse files Browse the repository at this point in the history
  • Loading branch information
adidahiya authored Jul 20, 2023
1 parent 7ebfe22 commit d73a405
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions packages/datetime/src/components/date-picker/_datepicker.scss
Original file line number Diff line number Diff line change
Expand Up @@ -168,8 +168,9 @@ $header-margin: ($header-height - $pt-input-height) * 0.5 !default;
justify-content: space-between;
margin: 0 ($pt-button-height - $datepicker-padding) $datepicker-padding;

// HTMLSelect overrides for a narrower appearance
select {
// override HTMLSelect styles for a narrower appearance
// N.B. these styles are important to achieve accurate measurements to position the dropdown arrows in <DatePickerCaption>
.#{$ns}-html-select select {
font-weight: 600;
padding-left: $datepicker-padding;
padding-right: $pt-icon-size-standard;
Expand Down

1 comment on commit d73a405

@adidahiya
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[datetime] fix: increase caption select CSS specificity (#6295)

Build artifact links for this commit: documentation | landing | table | demo

This is an automated comment from the deploy-preview CircleCI job.

Please sign in to comment.