Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tabs的tabFontWeightActive设置之后所有的tab都加粗了 #2926

Closed
checkblue opened this issue May 12, 2022 · 0 comments
Closed

tabs的tabFontWeightActive设置之后所有的tab都加粗了 #2926

checkblue opened this issue May 12, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@checkblue
Copy link

TuSimple/naive-ui version (版本)

2.28.4

Vue version (Vue 版本)

3.2.33

Browser and its version (浏览器及其版本)

Chrome 版本 101.0.4951.54(正式版本) (arm64)

System and its version (系统及其版本)

MacOS12.0.1 (21A559)

Node version (Node 版本)

Reappearance steps (重现步骤)

const tabsThemeOverrides: TabsThemeOverrides = {
tabFontWeightActive: '500',
}

    <n-tabs type="line" animated size="large" :theme-overrides="tabsThemeOverrides">
      <n-tab-pane name="statistical" tab="大象">大象</n-tab-pane>
      <n-tab-pane name="user" tab="老虎">老虎</n-tab-pane>
      <n-tab-pane name="custom" tab="狮子">狮子</n-tab-pane>
    </n-tabs>

Expected results (期望的结果)

只有选中的才加粗

Actual results (实际的结果)

所有tab都加粗了

Remarks (补充说明)

@github-actions github-actions bot added the untriaged need to sort label May 12, 2022
@07akioni 07akioni added bug Something isn't working and removed untriaged need to sort labels May 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants