Skip to content

Commit

Permalink
#3124 - fixed bug in Selection-Tool
Browse files Browse the repository at this point in the history
  • Loading branch information
Olga Mazurina committed Aug 23, 2023
1 parent fdd9bc1 commit f18b964
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -68,16 +68,16 @@
}
}

.subMenu {
:global(.contexify_rightSlot) {
margin-right: -15px;
}

&::before {
content: '';
.devider {
content: '';
display: block;
border-top: 1px solid @border-color;
margin: 3px 0;
}

.subMenu {
:global(.contexify_rightSlot) {
margin-right: -15px;
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,15 @@ const BondMenuItems: FC<MenuItemsProps> = (props) => {
: 'Edit...'}
</Item>

{nonQueryBondNames.map((name) => {
{nonQueryBondNames.map((name, i) => {
const iconName = getIconName(name);
let classNames =
styles.sameGroup +
(i === nonQueryBondNames.length - 1 ? styles.devider : '');

return (
<Item
className={styles.sameGroup}
className={classNames}
{...props}
id={name}
onClick={handleTypeChange}
Expand Down

0 comments on commit f18b964

Please sign in to comment.