Skip to content

Commit

Permalink
fix(ui5-checkbox): vertical misalignment when wrap is true (#2747)
Browse files Browse the repository at this point in the history
* fix(ui5-checkbox): vertical misalignment when wrap is true

- redundant CSS styling is removed which was causing the issue

* CheckBox inner is now aligned properly
  • Loading branch information
plamenivanov91 authored Feb 1, 2021
1 parent daa51e7 commit 9f027f1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/main/src/themes/CheckBox.css
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@

:host([wrap][text]) .ui5-checkbox-root .ui5-checkbox-label {
word-break: break-all;
align-self: center;
}

:host([wrap]) .ui5-checkbox-root:focus::before {
Expand Down

0 comments on commit 9f027f1

Please sign in to comment.