Skip to content

Commit 59c84e3

Browse files
Merge pull request #127 from gets0ul/issue_2543
Fix Community App Issue #135
2 parents a6c736b + 330b678 commit 59c84e3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/TopNav/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -357,7 +357,7 @@ const TopNav = ({
357357
prect = menuEl.parentElement.getBoundingClientRect()
358358
}
359359
// add the item if it's overflowing
360-
if (rect.right > prect.right) {
360+
if (rect.right > prect.right && rect.right - prect.right > 1) {
361361
newMoreMenu.unshift(menu)
362362
} else if (newMoreMenu.length && prect.right - rect.right < 100) {
363363
// make sure we have space for the 'more' menu

0 commit comments

Comments
 (0)