diff --git a/stash-web/src/App.css b/stash-web/src/App.css index 513c792..0e84f1d 100644 --- a/stash-web/src/App.css +++ b/stash-web/src/App.css @@ -842,6 +842,12 @@ flex-wrap: nowrap; } + /* 页头:品牌和操作图标按内容宽度,滚动信息吃剩下的空间, + 否则中间那列固定抢 720px,品牌文字会被挤没 */ + .site-header-inner { + grid-template-columns: auto minmax(0, 1fr) auto; + } + .profile-card { grid-row: auto; } @@ -859,8 +865,8 @@ } } -@media (max-width: 820px) { - /* 手机上页头只留品牌 + 操作图标:跑马灯放不下,会盖到下面的搜索条上 */ +@media (max-width: 640px) { + /* 手机页头只留品牌 + 操作图标:跑马灯放不下,会盖到下面的搜索条上 */ .header-ticker-slot { display: none; }