[Help] Menu bar dropdown items width needs to be increased #1551
-
Help WantedI have Menu bar with pop-over drop-down items in it. I have inserted HTML content in each item dropdown. I want to increase the width of the each popover item. Testcase
https://jsfiddle.net/MaheshVuppala/5rpv6z8t/1/ Reference link: https://www.peerbits.com/ |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Hi there! I see you are using With this said, I saw two ways to solve it.
|
Beta Was this translation helpful? Give feedback.
-
Thanks TheJltres . Issue is fixed. |
Beta Was this translation helpful? Give feedback.
Hi there!
I see you are using
.ui.fluid.popup
on your menu, but "A fluid popup will take up the entire width of its offset container" (https://fomantic-ui.com/modules/popup.html#fluid). In your case.right.menu
.The main problem with dropdown item width is this word: "TECHNOLOGIES" is too big to fit inside column, so it overflows the column padding.
With this said, I saw two ways to solve it.
Overflow
Solution? You can use
overflow-wrap: break-word;
or someoverflow-x: property
This fix the problem but is not prity, so I searched in docs and found
flowing
(https://fomantic-ui.com/modules/popup.html#flowing)Flowing
If you use this, popup will fit content with no min width. With bigger…