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 {
display: none;
.woocommerce-filters-date__content {
.woocommerce-calendar__input-error {
display: none;
.components-popover__content {
background-color: $core-grey-dark-400;
color: $white;
padding: 0.5em;
border: none;
.components-popover__content {
background-color: $core-grey-dark-400;
color: $white;
padding: 0.5em;
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 {
.components-popover__content {
min-width: 100px;
text-align: center;
}
&:not(.no-arrow):after {
border-color: $core-grey-dark-400;
}
&.is-mobile .woocommerce-calendar__input-error .components-popover__content {
height: initial;
}
}

View File

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