Fixed #6250
parent
0ef9da68d3
commit
80128bbec6
|
@ -2710,14 +2710,14 @@ export default {
|
||||||
for (let i = 0; i < responsiveOptions.length; i++) {
|
for (let i = 0; i < responsiveOptions.length; i++) {
|
||||||
let { breakpoint, numMonths } = responsiveOptions[i];
|
let { breakpoint, numMonths } = responsiveOptions[i];
|
||||||
let styles = `
|
let styles = `
|
||||||
.p-datepicker[${this.attributeSelector}] .p-datepicker-group:nth-child(${numMonths}) .p-datepicker-next {
|
.p-datepicker-panel[${this.attributeSelector}] .p-datepicker-calendar:nth-child(${numMonths}) .p-datepicker-next-button {
|
||||||
display: inline-flex;
|
display: inline-flex;
|
||||||
}
|
}
|
||||||
`;
|
`;
|
||||||
|
|
||||||
for (let j = numMonths; j < this.numberOfMonths; j++) {
|
for (let j = numMonths; j < this.numberOfMonths; j++) {
|
||||||
styles += `
|
styles += `
|
||||||
.p-datepicker[${this.attributeSelector}] .p-datepicker-group:nth-child(${j + 1}) {
|
.p-datepicker-panel[${this.attributeSelector}] .p-datepicker-calendar:nth-child(${j + 1}) {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
`;
|
`;
|
||||||
|
|
Loading…
Reference in New Issue