diff --git a/src/components/calendar/Calendar.vue b/src/components/calendar/Calendar.vue index 43d400cae..b2f9e5957 100755 --- a/src/components/calendar/Calendar.vue +++ b/src/components/calendar/Calendar.vue @@ -8,7 +8,7 @@
-
@@ -22,7 +22,7 @@
@@ -47,7 +47,8 @@ - + {{date.day}} @@ -57,19 +58,20 @@
- + {{m}}
- {{formattedCurrentHour}} - @@ -78,12 +80,12 @@ {{timeSeparator}}
- {{formattedCurrentMinute}} - @@ -92,12 +94,12 @@ {{timeSeparator}}
- {{formattedCurrentSecond}} - @@ -106,18 +108,18 @@ {{timeSeparator}}
- {{pm ? 'PM' : 'AM'}} -
- - + +
@@ -129,6 +131,7 @@ import InputText from '../inputtext/InputText'; import Button from '../button/Button'; import DomHandler from '../utils/DomHandler'; +import Ripple from '../ripple/Ripple'; export default { inheritAttrs: false, @@ -2145,6 +2148,9 @@ export default { components: { 'CalendarInputText': InputText, 'CalendarButton': Button + }, + directives: { + 'ripple': Ripple } } @@ -2211,6 +2217,8 @@ export default { display: inline-flex; justify-content: center; align-items: center; + overflow: hidden; + position: relative; } /* Multiple Month DatePicker */ @@ -2230,6 +2238,8 @@ export default { align-items: center; cursor: pointer; margin: 0 auto; + overflow: hidden; + position: relative; } /* Month Picker */ @@ -2239,6 +2249,8 @@ export default { align-items: center; justify-content: center; cursor: pointer; + overflow: hidden; + position: relative; } /* Button Bar */ @@ -2260,6 +2272,8 @@ export default { align-items: center; justify-content: center; cursor: pointer; + overflow: hidden; + position: relative; } .p-timepicker > div {