diff --git a/frontend/src/index.css b/frontend/src/index.css index 2e1958f..08e2cc9 100644 --- a/frontend/src/index.css +++ b/frontend/src/index.css @@ -71,7 +71,13 @@ textarea { font: inherit; } +/* 组件库的「无底色按钮」依赖宿主这份 reset(Select 选项、Segmented、Tabs、Menu + 都只声明选中态底色)。少了它,浏览器默认的 ButtonFace 灰底和按钮边框会露出来, + 下拉选项会变成一块块灰条。 */ button { + border: none; + background: none; + color: inherit; cursor: pointer; }