Skip to content

Commit

Permalink
fix: style input checkbox in profiles
Browse files Browse the repository at this point in the history
x-terminal-profile-menu-item-checkbox is no more
  • Loading branch information
the-j0k3r committed Mar 5, 2020
1 parent 66d3df6 commit 7621e1b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/profile-menu-element.js
Original file line number Diff line number Diff line change
Expand Up @@ -365,7 +365,7 @@ class XTerminalProfileMenuElementImpl extends HTMLElement {
menuItemLabel.classList.add('x-terminal-profile-menu-item-label-checkbox')
const checkbox = document.createElement('input')
checkbox.setAttribute('type', 'checkbox')
checkbox.classList.add('x-terminal-profile-menu-item-checkbox')
checkbox.classList.add('input-checkbox')
checkbox.checked = defaultValue
if (initialValue !== undefined) {
checkbox.checked = initialValue
Expand Down
2 changes: 1 addition & 1 deletion styles/x-terminal.less
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ x-terminal-profile {
padding-left: 2.25em;
margin-top: -20px;

.x-terminal-profile-menu-item-checkbox {
.input-checkbox {
width: @component-size;
height: @component-size;
margin-left: -2.25em;
Expand Down

0 comments on commit 7621e1b

Please sign in to comment.