Skip to content

Commit

Permalink
feat(fe:FSADT1-1006): prevent horizontal scroll due to date field inp…
Browse files Browse the repository at this point in the history
…uts (#876)
  • Loading branch information
fterra-encora authored Mar 15, 2024
1 parent 20ca76d commit 6bc3199
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions frontend/src/components/forms/DateInputComponent/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -428,6 +428,15 @@ const datePartComponentRefs = {
:deep(cds-text-input::part(svg)) {
right: 1rem;
}
/* Small (up to 671px) */
@media screen and (max-width: 671px) {
:deep([id$="Year"]),
:deep([id$="Month"]),
:deep([id$="Day"]) {
width: 5rem;
}
}
</style>

<template>
Expand Down

0 comments on commit 6bc3199

Please sign in to comment.