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

Input : Optimization input line-height tree:add attributes all-disabled #16568

Closed
wants to merge 19 commits into from
Closed

Conversation

xrkffgg
Copy link

@xrkffgg xrkffgg commented Jul 15, 2019

NO1. commits input

  1. 修正文档 inputsize 类型选项文字,将 large 修改为 medium
  2. 根据 PR Input: fix clear icon is not centered #15354 发现,iconline-height 根据 el-input__icon 进行改变,当 input size 改变时,改变了 inner iconheight line-height,这里将其优化为 修改 el-inputheightline-heightnpm run test 测试无误

Please make sure these boxes are checked before submitting your PR, thank you!

  • Make sure you follow Element's contributing guide (中文 | English | Español | Français).
  • Make sure you are merging your commits to dev branch.
  • Add some descriptions and refer relative issues for you PR.

…eight根据el-input__icon进行改变,当input size改变时,改变了inner 和 icon 的height或line-height,这里将其优化为 修改el-input 的 height 和 line-height。test测试无误>
@element-bot
Copy link
Member

element-bot commented Jul 15, 2019

Deploy preview for element ready!

Built with commit 3fd8f4d

https://deploy-preview-16568--element.netlify.com

2、types 中 增加 allDisabled 变量设置说明;
3、中文文档增加 演示例子,Attributes 中 增加 all-disabled 说明,props 中增加了一个标点
@xrkffgg xrkffgg changed the title Input : Optimization input line-height Input : Optimization input line-height tree:add attributes all-disabled Jul 16, 2019
@xrkffgg
Copy link
Author

xrkffgg commented Jul 16, 2019

NO2. commits tree

tree-all-disabled 的 官网测试预览:

属性设置:

@xrkffgg
Copy link
Author

xrkffgg commented Jul 17, 2019

NO3. commits tree

修复 tree 鼠标显示问题。不知道 是故意要做成这种效果还是什么?这里对鼠标做了一个小修复。

修复前效果:

修复后效果:

iamkun and others added 3 commits July 18, 2019 13:32
* Chore: update theme inner api

* Chore: update theme inner api

* Chore: text

* Chore: fix

* Chore: fix
@xrkffgg
Copy link
Author

xrkffgg commented Jul 19, 2019

NO4. commits input

修改 input readonly 时,鼠标样式。

当设置el-inputreadonly时,鼠标仍显示 输入状态,很容易造成歧义,强烈建议,增加input readonly时,鼠标显示默认状态。😞😞😞

@xrkffgg
Copy link
Author

xrkffgg commented Jul 24, 2019

NO5. commits transfer

根据
#16668

增加了 button-queue 属性,可控制 左右 button 的 上下 顺序

@xrkffgg
Copy link
Author

xrkffgg commented Jul 24, 2019

😅😅😅

更新了一下 fork 的 代码 ,搞的越来越乱了

尴了个尬

@iamkun
Copy link
Member

iamkun commented Jul 31, 2019

这 commit 不太对呀 要不麻烦重新提交一个吧

@iamkun iamkun closed this Jul 31, 2019
@xrkffgg
Copy link
Author

xrkffgg commented Jul 31, 2019

@iamkun 大佬,一般一个 commit PR 是 单独一个功能吗?我是先提了一个,发了PR。然后再 加的,我以为会有新的PR,然后就越来越多了。。。。

@xrkffgg
Copy link
Author

xrkffgg commented Jul 31, 2019

@iamkun
之前,提交了5次。
分别是:

  1. input :文档中 size 我发现已经没有了 large,例子中还是有的。css 调整可以忽略。
  2. tree: 增加了一个 all-disabled 的属性,控制所有节点 禁用状态。
  3. tree: cursor的样式有点小问题,2.11.0 中仍然存在。可以看上面的忽略图。
  4. input: 修改了readonly 时,鼠标样式。
  5. Transfer: 根据 [Feature Request] how could i change transfer left button or right button order that determined which is on the top #16668 新增的。

大佬看下,觉得哪个需要改的,我再重新提吧。

@iamkun
Copy link
Member

iamkun commented Jul 31, 2019

我觉得要不你重新提一遍吧 一个 pr 修一个问题最好 不要出现别人的 commit

@xrkffgg
Copy link
Author

xrkffgg commented Jul 31, 2019

@iamkun 好的

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.

8 participants