Skip to content

Commit

Permalink
Merge pull request #220 from creative-commoners/pulls/4/icon-alignement
Browse files Browse the repository at this point in the history
ENH Icon alignment
  • Loading branch information
GuySartorelli authored Feb 13, 2024
2 parents f3de6ac + 5d604a7 commit 848f532
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion client/dist/js/bundle.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion client/dist/styles/bundle.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions client/src/components/LinkPicker/LinkPicker.scss
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,10 @@
}

.link-picker__menu-icon {
display: inline-block;
vertical-align: middle;
padding-right: 0.7rem;
line-height: 1;
}

.link-picker__link {
Expand Down
2 changes: 1 addition & 1 deletion client/src/components/LinkPicker/LinkPickerMenu.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ const LinkPickerMenu = ({ types, onSelect, onKeyDownEdit }) => {
onKeyDown={handleKeyDown}
>
<span className={`link-picker__menu-icon ${icon}`}></span>
{title}
<span className={`link-picker__menu-title`}>{title}</span>
</DropdownItem>
}
)}
Expand Down

0 comments on commit 848f532

Please sign in to comment.