* Fix styling of chart component header.

* Add changelog entries.
This commit is contained in:
Jeff Stieler 2021-05-24 08:44:13 -04:00 committed by GitHub
parent 3240132eb2
commit ce02b58b23
4 changed files with 27 additions and 9 deletions

View File

@ -1,3 +1,7 @@
# Unreleased
- Fix style regression with the Chart header. #7002
# 6.2.0 # 6.2.0
- Fix `autocompleter` for custom Search in `CompareFilter` #6911 - Fix `autocompleter` for custom Search in `CompareFilter` #6911

View File

@ -242,8 +242,8 @@ class Chart extends Component {
}; };
return ( return (
<div className="woocommerce-chart__interval-select">
<SelectControl <SelectControl
className="woocommerce-chart__interval-select"
value={ interval } value={ interval }
options={ allowedIntervals.map( ( allowedInterval ) => ( { options={ allowedIntervals.map( ( allowedInterval ) => ( {
value: allowedInterval, value: allowedInterval,
@ -251,6 +251,7 @@ class Chart extends Component {
} ) ) } } ) ) }
onChange={ this.setInterval } onChange={ this.setInterval }
/> />
</div>
); );
} }

View File

@ -87,8 +87,20 @@
border: 0; border: 0;
box-shadow: none; box-shadow: none;
.components-input-control__backdrop {
display: none;
}
&:not(:disabled):not([aria-disabled='true']):focus { &:not(:disabled):not([aria-disabled='true']):focus {
@include button-style__focus-active(); @include button-style__focus-active();
& ~ .components-input-control__backdrop {
display: block;
}
}
& ~ .components-input-control__backdrop {
display: none;
} }
} }
} }

View File

@ -112,6 +112,7 @@ Release and roadmap notes are available on the [WooCommerce Developers Blog](htt
- Fix: Multiple preload tag output bug. #6998 - Fix: Multiple preload tag output bug. #6998
- Fix: Call existing filters for leaderboards in analytics. #6626 - Fix: Call existing filters for leaderboards in analytics. #6626
- Fix: Set target to blank for the external links #6999 - Fix: Set target to blank for the external links #6999
- Fix style regression with the Chart header. #7002
- Fix: Show Google Listing and Ads in installed marketing extensions section. #7029 - Fix: Show Google Listing and Ads in installed marketing extensions section. #7029
- Tweak: Only fetch remote payment gateway recommendations when opted in #6964 - Tweak: Only fetch remote payment gateway recommendations when opted in #6964
- Tweak: Setup checklist copy revert. #7015 - Tweak: Setup checklist copy revert. #7015