Skip to content

Commit

Permalink
Make <labels> full width in Options modal
Browse files Browse the repository at this point in the history
Expands the click area of an option to fill the width of the modal so
that it's easier to toggle on and off.
  • Loading branch information
noisysocks committed Oct 16, 2018
1 parent e3e1c4f commit fed61bb
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions packages/edit-post/src/components/options-modal/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -16,21 +16,21 @@
}

&__option {
display: flex;
align-items: center;
padding: 0.6rem 0;
border-top: 1px solid $light-gray-500;

&:last-child {
border-bottom: 1px solid $light-gray-500;
}

.components-base-control__field {
align-items: center;
display: flex;
margin: 0;
}

.components-checkbox-control__input {
margin-right: 10px;
.components-checkbox-control__label {
flex-grow: 1;
padding: 0.6rem 0 0.6rem 10px;
}
}
}

0 comments on commit fed61bb

Please sign in to comment.