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,24 +126,32 @@
} }
} }
.woocommerce-calendar__input-error { .woocommerce-filters-date__content {
display: none; .woocommerce-calendar__input-error {
display: none;
.components-popover__content { .components-popover__content {
background-color: $core-grey-dark-400; background-color: $core-grey-dark-400;
color: $white; color: $white;
padding: 0.5em; padding: 0.5em;
border: none; border: none;
}
&.components-popover {
.components-popover__content {
min-width: 100px;
text-align: center;
}
&:not(.no-arrow):not(.is-mobile).is-bottom:before {
border-bottom-color: $core-grey-dark-400;
z-index: 1;
top: -6px;
}
}
} }
&.components-popover { &.is-mobile .woocommerce-calendar__input-error .components-popover__content {
.components-popover__content { height: initial;
min-width: 100px;
text-align: center;
}
&:not(.no-arrow):after {
border-color: $core-grey-dark-400;
}
} }
} }

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);
} }
} }
} }