Closed alxtz closed 7 years ago
In the previous version , when switching to fullscreen mode , the search box would show however.
This is caused by the nav bar taking space in non-fullscreen , but hidden in full screen mode, cause the css to be buggy.
Modified transition of .electronSearchText-box to all Add opacity 0 ,visibility to .electronSearchText-visible
之前打開桌面版的時候,從視窗模式切換到全銀幕時
搜尋框會莫名其妙的跳出來,原因是在視窗模式的 navbar 是有佔空間的
在全銀幕時css的padding會不太對
要完全更改的話可能要偵測是否為全銀幕模式,再根據狀態改search bar的padding
不過這樣要改的code有點多,我只有改成在nav bar未顯示時多一個opacity 0以及visibility hidden(這樣就點不到了)
基本上在全銀幕時就不會有跑出來的問題了
In the previous version , when switching to fullscreen mode , the search box would show however.
This is caused by the nav bar taking space in non-fullscreen , but hidden in full screen mode, cause the css to be buggy.
Modified transition of .electronSearchText-box to all Add opacity 0 ,visibility to .electronSearchText-visible
之前打開桌面版的時候,從視窗模式切換到全銀幕時
搜尋框會莫名其妙的跳出來,原因是在視窗模式的 navbar 是有佔空間的
在全銀幕時css的padding會不太對
要完全更改的話可能要偵測是否為全銀幕模式,再根據狀態改search bar的padding
不過這樣要改的code有點多,我只有改成在nav bar未顯示時多一個opacity 0以及visibility hidden(這樣就點不到了)
基本上在全銀幕時就不會有跑出來的問題了