Fix distorted Country/Region label at some zoom levels (https://github.com/woocommerce/woocommerce-admin/pull/8186)

* Override overflow rule for label in select controls in OBW store address inputs.

* Changelog for 7893/8186.

* Rather than specifically override the overflow for store addresss country/region, remove the specific rule that was causing the issue.

* Increase line-height on SelectControl label.

* Restore overflow: hidden rule for profile wizard control label.

* Update changelog for 7893/8186.

* Add package changelog entry for 7893/8186.
This commit is contained in:
Jacob Sewell 2022-01-31 15:56:15 -06:00 committed by GitHub
parent 8abea5a435
commit 5002a1498a
3 changed files with 7 additions and 0 deletions

View File

@ -0,0 +1,4 @@
Significance: patch
Type: Tweak
OBW: Override Country/Region label line-height style to avoid truncated descenders. #8186

View File

@ -1,5 +1,7 @@
# Unreleased
- Update line-height of SelectControl label to avoid truncated descenders in some typefaces and zoom levels. #8186
# 8.2.0
- Fix usage of Wordpress DatePicker component in `DatePicker`. #7982

View File

@ -33,6 +33,7 @@
transform: translateY(-50%);
color: $studio-gray-50;
font-size: 16px;
line-height: 1.5em;
}
.woocommerce-select-control__control-input {