且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

上下文菜单的宽度

更新时间:2023-12-06 08:21:04

类似于上一个答案(如果您这样做的话) left: 100%而不是固定的像素宽度,您可以将导航的宽度更改为您心脏的内容,并且它将始终保持在应有的位置.

Similar to the previous answer, if you make left: 100% instead of a fixed pixel width, you can change the width of the navigation to your heart's content and it will always stay where it should.

.menu1.ms-ContextualMenu .ms-ContextualMenu {
    left: 100%;
}