Fix color on pagination caused by Twenty Twenty (https://github.com/woocommerce/woocommerce-blocks/pull/1257)

* fix color on pagination caused by twentytwenty
This commit is contained in:
Seghir Nadir 2019-11-26 12:45:00 +01:00 committed by GitHub
parent ea1a31123f
commit 998d3920c9
1 changed files with 8 additions and 1 deletions

View File

@ -11,7 +11,6 @@
}
.wc-block-pagination-page {
background-color: transparent;
border-color: transparent;
padding: 0.3em 0.6em;
min-width: 2.2em;
@ -20,6 +19,14 @@
padding: 0.1em 0.2em;
min-width: 1.6em;
}
// Twenty Twenty register a background color for buttons that is too specific
// and broad at the same time `button:not(.toggle)` so we're engaing in a
// specify war with them here.
// https://github.com/woocommerce/woocommerce-gutenberg-products-block/issues/1203
&:not(.toggle) {
background-color: transparent;
}
}
.wc-block-pagination-ellipsis {