You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think I ran into a bug. CSS is not my strongest suit so I apologise in advance in case this is intended behaviour.
Here is the code I'm using:
<divclass="ui attached segment">There are many variations of passages of Lorem Ipsum available, but the majority have suffered alteration in some form, by injected humour, or randomised words which don't look even slightly believable. If you are going to use a passage of Lorem
Ipsum, you need to be sure there isn't anything embarrassing hidden in the middle of text
</div><divclass="ui bottom attached item two menu"><aclass="active item">Section 1</a><aclass="item">Section 2</a></div>
As you can see in this jsfiddle, the menu is 1px off from the attached segment on the right side.
I ran into the bug using with the React Menu component with the widths prop. Not sure if that's relevant but I thought it was worth mentioning. I looked at existing issues here on github and I found #1557 and #1587 which seem related but my CSS knowledge is too limited for me to connect the dots. So sorry if that's misleading.
This code (which I added as a comment in the jsfiddle in case you want to give it a quick try):
.ui.attached.menu {
max-width:calc(100%+1px);
}
fixes the problem but I doubt it's an adequate solution. I wish I could open a PR with a fix but, once again, I don't have the knowledge to fix it on my own. And I'm still not 100% sure it's a bug. Maybe I'm doing something wrong.
Thank you very much for this awesome project!
The text was updated successfully, but these errors were encountered:
Hi!
I think I ran into a bug. CSS is not my strongest suit so I apologise in advance in case this is intended behaviour.
Here is the code I'm using:
As you can see in this jsfiddle, the menu is
1px
off from the attached segment on the right side.I ran into the bug using with the React Menu component with the
widths
prop. Not sure if that's relevant but I thought it was worth mentioning. I looked at existing issues here on github and I found #1557 and #1587 which seem related but my CSS knowledge is too limited for me to connect the dots. So sorry if that's misleading.This code (which I added as a comment in the jsfiddle in case you want to give it a quick try):
fixes the problem but I doubt it's an adequate solution. I wish I could open a PR with a fix but, once again, I don't have the knowledge to fix it on my own. And I'm still not 100% sure it's a bug. Maybe I'm doing something wrong.
Thank you very much for this awesome project!
The text was updated successfully, but these errors were encountered: