Skip to content

Conversation

afc163
Copy link
Member

@afc163 afc163 commented Feb 21, 2017

根据这里的例子 ant-design/ant-design#4965 (comment) 优化了样式效果。

  1. 当不需要滚动条时,不应该出现阴影。
  2. 随着 React 组件变化和窗口大小变化,阴影效果动态响应。
  3. 修正了自带样式的一些小问题。

@coveralls
Copy link

Coverage Status

Coverage increased (+0.2%) to 90.928% when pulling 3585665 on fix-fixed-columns-table-classname into d416737 on master.

@yesmeck
Copy link
Member

yesmeck commented Feb 21, 2017

看起来有问题:

wx20170221-213056

窗口缩小的时候第三栏(title3)会不见,且不能滚动,左边也没出现阴影。

@afc163
Copy link
Member Author

afc163 commented Feb 22, 2017

当 table width 不固定时,column 的 width 在 chrome 下会被挤压,无法固定。

@coveralls
Copy link

coveralls commented Feb 22, 2017

Coverage Status

Coverage increased (+0.2%) to 90.928% when pulling f9b023f on fix-fixed-columns-table-classname into d416737 on master.

@afc163 afc163 force-pushed the fix-fixed-columns-table-classname branch from f9b023f to daf98c4 Compare February 22, 2017 13:40
@coveralls
Copy link

Coverage Status

Coverage increased (+0.2%) to 90.928% when pulling daf98c4 on fix-fixed-columns-table-classname into 61a6205 on master.

@afc163 afc163 merged commit dfe646d into master Feb 23, 2017
@afc163 afc163 deleted the fix-fixed-columns-table-classname branch February 23, 2017 03:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants