question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Dropdown menu width too wide

See original GitHub issue

I’m using this markup but the resulting dropdown items are wider than the menu container. I’m not sure if this is Bootstrap 4 default appearance but I’d like to have my menu items not overlap the width of the menu. Here’s the code and a screenshot:

<b-nav-item-dropdown right v-if="this.$store.getters.authenticated">
            <template slot="button-content">
              <em>Signed In</em>
            </template>
            <b-dropdown-item href="#">Profile</b-dropdown-item>
            <b-dropdown-item href="#">Signout</b-dropdown-item>
</b-nav-item-dropdown>
screen shot 2019-02-12 at 6 11 44 am

Note, this only appears to be happening in Safari on OS X. Chrome is ok, see below:

screen shot 2019-02-12 at 6 26 23 am

Thanks, Cliff.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:14 (7 by maintainers)

github_iconTop GitHub Comments

5reactions
tmorehousecommented, May 1, 2019

See here for an example: https://jsfiddle.net/mn8zrtos/

0reactions
mariebehzadicommented, May 2, 2019

Thank you so much!

Read more comments on GitHub >

github_iconTop Results From Across the Web

bootstrap navbar list dropdown extends far too wide
How do I stop this? I dont want to give it a fixed width because the list item just breaks free out of...
Read more >
How to Fix Excel Data Validation Drop Down List Too Wide
Excel data validation drop down list is much wider than the worksheet column it is in. Suggested steps to fix the problem.
Read more >
Menu dropdown width - WordPress.org
Click ctrl+i and then elements. Select the menu and try to change width there. When you see that it changes see more information...
Read more >
Solved - Drop-down menu is too wide - Divi.Help
Hey there, I am new too this Forum and seeking for help :) i first built my menu with wordpress and then redesigned...
Read more >
Align width of dropdown menu to? - UX Stack Exchange
It's aesthetically pleasing when the left and right gutters of a menu are the same width. If the left gutter is ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found