Fix styling of chart component header. (https://github.com/woocommerce/woocommerce-admin/pull/7002)
* Fix styling of chart component header. * Add changelog entries.
This commit is contained in:
parent
3240132eb2
commit
ce02b58b23
|
@ -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
|
||||||
|
|
|
@ -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>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue