Skip to content

Commit

Permalink
Style MultipleItemsDialog
Browse files Browse the repository at this point in the history
  • Loading branch information
tnajdek committed Aug 26, 2021
1 parent 616ee40 commit fe848c1
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/js/components/multiple-items-dialog.jsx
Expand Up @@ -98,6 +98,7 @@ const MultipleItemsDialog = props => {
} />
<input
checked={ selectedItems.includes(item.id) }
className="checkbox"
onChange={ handleItemSelectionChange }
tabIndex={ -1 }
type="checkbox"
Expand All @@ -123,8 +124,8 @@ const MultipleItemsDialog = props => {

MultipleItemsDialog. propTypes = {
activeDialog: PropTypes.string,
multipleItems: PropTypes.object,
multipleChoiceItems: PropTypes.array,
multipleItems: PropTypes.object,
onMultipleItemsCancel: PropTypes.func.isRequired,
onMultipleItemsSelect: PropTypes.func.isRequired,
}
Expand Down
9 changes: 9 additions & 0 deletions src/scss/components/_multiple-choice-dialog.scss
Expand Up @@ -18,6 +18,7 @@
border-top: 1px solid $result-border-color;
padding: $result-padding;
cursor: pointer;
display: flex;

&:hover {
background-color: $result-hover-bg;
Expand Down Expand Up @@ -61,6 +62,14 @@
.description {
margin: 0;
}

.checkbox {
align-self: center;
}

.csl-entry {
word-break: break-word;
}
}

.more-items-action {
Expand Down

0 comments on commit fe848c1

Please sign in to comment.