【已解决】113版本限制了地址栏的最小宽度吗?

阅读:813回复:2
2023-05-13 16:01
写私信
楼主#
用了使标签栏地址栏同列的 css,想要把地址栏的宽度缩小至 200px,地址栏右侧的扩展图标就看不见了,请问有什么办法吗?
之前的版本是可以缩小显示的。


https://s1.ax1x.com/2023/05/13/p96ghdJ.png


/*地址栏标签栏同列=====来自:
                  > SimpleFox: https://github.com/migueravila/SimpleFox
    Authors:        Andreas Grafen (original cascade theme)
                    (https://andreas.grafen.info)
                    Clément Rambaud (minor tweaks on the original file)
    Repository:     https://github.com/andreasgrafen/cascade
                    https://github.com/crambaud/cascade
*/
 :root {  
    /* dynamic url bar width settings */
    --uc-urlbar-width: 600px;
}
            
/* transition to oneline */
@media (min-width: 10px) {     
    /* move tabs bar over */
    #TabsToolbar { margin-left: var(--uc-urlbar-width) !important; }
    /* move entire nav bar  */
    #nav-bar { margin: calc((var(--urlbar-min-height) * -1) - 8px) calc(100vw - var(--uc-urlbar-width)) 0 0 !important; }
} /* end media query */
2023-05-14 10:43
写私信
1楼#
确实有最小限制,末尾加一行,把11行宽度缩小地址栏跟着就短了。
#urlbar-container {
    width: auto !important;
}
2023-05-14 15:28
写私信
2楼#
alanfly:确实有最小限制,末尾加一行,把11行宽度缩小地址栏跟着就短了。#urlbar-container {
    width: auto !important;
}
回到原帖
非常完美,谢谢!