Skip to content

Commit 51aab0a

Browse files
dfreedmcopybara-github
authored andcommitted
fix(checkbox): Use inline-flex instead of inline-block for host element
PiperOrigin-RevId: 344917502
1 parent baf9d39 commit 51aab0a

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
2222
- `textfield`
2323
- inconsistencies of autovalidation when it's turned off.
2424
- Tapping on tappable components no longer triggers tap highlight
25+
- `checkbox`
26+
- Changed display to `inline-flex` to fix layout issues
2527

2628
### Changed
2729

packages/checkbox/_checkbox.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ limitations under the License.
2222

2323
:host {
2424
outline: none;
25-
display: inline-block;
25+
display: inline-flex;
2626
-webkit-tap-highlight-color: transparent;
2727
}
2828

0 commit comments

Comments
 (0)