DaptePicker: fix erorr message popover

This commit is contained in:
Paul Sealock 2018-08-29 14:50:34 +12:00
parent e19aff2169
commit e137f7af60
2 changed files with 25 additions and 17 deletions

View File

@ -126,7 +126,8 @@
} }
} }
.woocommerce-calendar__input-error { .woocommerce-filters-date__content {
.woocommerce-calendar__input-error {
display: none; display: none;
.components-popover__content { .components-popover__content {
@ -142,8 +143,15 @@
text-align: center; text-align: center;
} }
&:not(.no-arrow):after { &:not(.no-arrow):not(.is-mobile).is-bottom:before {
border-color: $core-grey-dark-400; border-bottom-color: $core-grey-dark-400;
z-index: 1;
top: -6px;
} }
} }
}
&.is-mobile .woocommerce-calendar__input-error .components-popover__content {
height: initial;
}
} }

View File

@ -12,7 +12,7 @@
} }
.components-tab-panel__tab-content { .components-tab-panel__tab-content {
height: calc(100% - $gap-larger); height: calc(100% - 36px);
} }
} }
} }