不是自動縮短搜尋列,需手動調整,滑鼠移到網址列和搜尋列中間會出現雙向箭頭。
配合圖示按鈕加框樣式更好
數值自己改:min-width:35px !Important
不想要放大鏡就自行找圖示,可用Base64。
此樣式無法去除在搜尋引擎網站或支援網站會出現的綠色加號+。
/*搜尋列縮短為按鈕*/ #search-container { min-width:35px !Important; width:auto !Important; } #searchbar .searchbar-search-button { margin-left: -3px !important } /*圖示替換*/ .searchbar-search-icon { list-style-image: url("圖示網址")!important; } |