Skip to content

Commit

Permalink
Merge branch 'main' into 2625-create-form-control-invalid-message-css…
Browse files Browse the repository at this point in the history
…-only-component
  • Loading branch information
davidritter-dotcom authored Jul 10, 2024
2 parents ef0956c + c6b07ad commit 9c095e2
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/tricky-hats-push.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@swisspost/design-system-styles': patch
---

Fixed a bug where the year in the datepicker got cut and fixed the icon placement in the small variant of the datepicker input.
3 changes: 2 additions & 1 deletion packages/styles/src/components/datepicker.scss
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ ngb-datepicker .ngb-dp-arrow {
.form-select {
background-color: transparent;
font: inherit;
min-width: fit-content;
}
}

Expand Down Expand Up @@ -182,7 +183,7 @@ span.ngb-dp-navigation-chevron {
}

.form-control-sm ~ .ngb-dp-open {
height: calc(#{forms.$form-floating-label-height-sm} - #{forms.$input-border-width * 2});
height: forms.$input-height-sm;
}

input[ngbDatepicker] {
Expand Down

0 comments on commit 9c095e2

Please sign in to comment.