Skip to content

Commit

Permalink
Fixed #10856 | Year Picker for Calendar and Fixed #10855 | Add respon…
Browse files Browse the repository at this point in the history
…siveOptions property to Calendar
  • Loading branch information
yigitfindikli committed Nov 16, 2021
1 parent 4b90d05 commit 4183276
Show file tree
Hide file tree
Showing 45 changed files with 1,627 additions and 415 deletions.
24 changes: 24 additions & 0 deletions src/app/components/calendar/calendar.css
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
.p-calendar {
position: relative;
display: inline-flex;
max-width: 100%;
}

.p-calendar .p-inputtext {
Expand Down Expand Up @@ -40,7 +41,9 @@
}

.p-datepicker-inline {
display: inline-block;
position: static;
overflow-x: auto;
}

/* Header */
Expand All @@ -64,6 +67,16 @@
position: relative;
}


/* Multiple Month DatePicker */
.p-datepicker-multiple-month .p-datepicker-group-container {
display: flex;
}

.p-datepicker-multiple-month .p-datepicker-group-container .p-datepicker-group {
flex: 1 1 auto;
}

/* Multiple Month DatePicker */
.p-datepicker-multiple-month .p-datepicker-group-container {
display: flex;
Expand Down Expand Up @@ -134,3 +147,14 @@
min-width: 80vw;
transform: translate(-50%, -50%);
}

/* Year Picker */
.p-yearpicker-year {
width: 50%;
display: inline-flex;
align-items: center;
justify-content: center;
cursor: pointer;
overflow: hidden;
position: relative;
}
Loading

0 comments on commit 4183276

Please sign in to comment.