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

[comp:table] table组件less变量问题 #769

Closed
1 task done
threedayAAAAA opened this issue Feb 28, 2022 · 2 comments · Fixed by #778
Closed
1 task done

[comp:table] table组件less变量问题 #769

threedayAAAAA opened this issue Feb 28, 2022 · 2 comments · Fixed by #778
Assignees
Labels

Comments

@threedayAAAAA
Copy link
Contributor

  • I have searched the issues of this repository and believe that this is not a duplicate.

What problem does this feature solve?

  1. 能设置表格单行的高度, 并且所有的列超长时都自动显示 省略号,不用每一个col都配置 ellipsis
  2. 能配置 表格头的height
  3. 能配置 表格筛选的icon 选中时的颜色

What does the proposed API look like?

  1. rowHeight, autoEllipsis
  2. @table-head-height-md (已有该配置 但是配置后不生效)
  3. @table-head-icon-selected-color
@idux-bot idux-bot bot added the Comp:Table label Feb 28, 2022
@idux-bot
Copy link

idux-bot bot commented Feb 28, 2022

Translation of this issue:

[COMP: TABLE] TABLE Component Less Variable Problem

  • i Have Searched The [https://github.com/iduxfe/idux/issues) of this repository and believe That this is not a duplicate.

What proBLEES THIS Feature SOLVE?

  1. You can set the height of the single line of the table, and all columns are automatically displayed, and Ellipsis is configured without each col.
  2. Can configure the Height of the table head
  3. Configure the color of the ICON selected by the table.

What does The proposed API Look Like?

RowHeight, AutoEllipsis
2. @ Table-Head-Height-MD (there is already the configuration but does not take effect after configuration)
3. @ @ Table-Head-icon-SELECTED-Color

@danranVm
Copy link
Member

  • rowHeight 是出于什么需求?没 get 到。
  • 可以给 table 加一个 ellipsis 配置,优先级低于 column 的 ellipsis
  • @table-head-height-md 我试了一下,是可以生效的。
  • @table-head-icon-selected-color => @table-head-icon-active-color, 新增一个变量吧。

第 2,4 点,欢迎 PR。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants