From e4a3b72e78132e277dd31ca6816938d170e27e04 Mon Sep 17 00:00:00 2001 From: afc163 Date: Tue, 3 Sep 2019 11:13:58 +0800 Subject: [PATCH] :bug: Fix MonthPicker switch icon overflow close #18604 --- components/date-picker/style/DecadePanel.less | 1 + components/date-picker/style/MonthPanel.less | 1 + components/date-picker/style/YearPanel.less | 1 + 3 files changed, 3 insertions(+) diff --git a/components/date-picker/style/DecadePanel.less b/components/date-picker/style/DecadePanel.less index 22188cc7f0..b444b85974 100644 --- a/components/date-picker/style/DecadePanel.less +++ b/components/date-picker/style/DecadePanel.less @@ -18,6 +18,7 @@ .@{calendar-prefix-cls}-decade-panel-header { .calendarPanelHeader(~'@{calendar-prefix-cls}-decade-panel'); + position: relative; } .@{calendar-prefix-cls}-decade-panel-body { diff --git a/components/date-picker/style/MonthPanel.less b/components/date-picker/style/MonthPanel.less index edfa4d8e5e..aa8b4ee23d 100644 --- a/components/date-picker/style/MonthPanel.less +++ b/components/date-picker/style/MonthPanel.less @@ -23,6 +23,7 @@ .@{calendar-prefix-cls}-month-panel-header { .calendarPanelHeader(~'@{calendar-prefix-cls}-month-panel'); + position: relative; } .@{calendar-prefix-cls}-month-panel-body { diff --git a/components/date-picker/style/YearPanel.less b/components/date-picker/style/YearPanel.less index f7754a1d4b..b9efca73ca 100644 --- a/components/date-picker/style/YearPanel.less +++ b/components/date-picker/style/YearPanel.less @@ -23,6 +23,7 @@ .@{calendar-prefix-cls}-year-panel-header { .calendarPanelHeader(~'@{calendar-prefix-cls}-year-panel'); + position: relative; } .@{calendar-prefix-cls}-year-panel-body {