Commit Graph

89 Commits

Author SHA1 Message Date
afc163
0fe82ed936
refactor list item dom structure 2019-03-06 14:20:51 +08:00
afc163
1c7e0d0b4b
🐛 Fix space lost when inline element in List.Item
close #15186

use `display: contents`:

- https://www.zcfy.cc/article/vanishing-boxes-with-display-contents
- https://css-tricks.com/get-ready-for-display-contents/
2019-03-06 14:20:51 +08:00
米老朱
6936599aef Enhance stylelint rules (#14803)
* rename .stylelintrc to .stylelintrc.json for explicit file type

* add new npm script lint-fix:style

* fix pseudo-element with double colon

* function name should be lower except ignored functions

* support stylelint declaration-block-no-ignored-properties rule

* support sorted CSS properties order for readability and consistency

* autofix order of all styles by lint-fix:style script

* remove double slash comments after selector

* replace .stylelintignore with ignoreFiles in .stylelintrc.json
2019-02-15 10:48:07 +08:00
Subroto
57f4c62368 Revert "fix IE 11 bug" (#14765)
This reverts commit 7d7de2a599.
2019-02-10 23:25:35 +08:00
Subroto
7d7de2a599 fix IE 11 bug
If `flex-basis` is not set, it is taken as `0px` as default, breaking the ui in IE 11.
2019-01-28 18:46:47 +08:00
Gautier
8bb3b10c01 Add a new less variable to override the list header background (#14519)
* Add a new less variable to override the list header background

* Add a new less variable to override the list footer background
2019-01-24 19:52:47 +08:00
zombieJ
b826ecf849
add miss style deps (#14214)
close #14204
2019-01-09 15:05:41 +08:00
陈帅
dca9715186 support prettier 2018-12-07 18:27:30 +08:00
afc163
cc37b8ef35 should not hide avatar in vertical item layout of List 2018-10-31 18:55:54 +08:00
Wei Zhu
4aa2bf804a Merge branch 'list-item-style-config' 2018-09-29 15:44:35 +08:00
afc163
0e2c58e42e Fix card width in List.Grid, close #11712 2018-08-11 00:56:16 +08:00
David Hatten
f237effc2a list padding and margin defaults added 2018-08-07 13:54:03 -04:00
afc163
92eeb7f8c9 Tweak list grid margin 2018-04-13 15:35:51 +08:00
afc163
2939aea4ec Fix list extra border, close #10028 2018-04-13 15:35:51 +08:00
afc163
f4abc8c14d Fix extra scrollbar in table or list cause by spin
close #8799

change a better way to fix #8602
2018-01-09 16:27:40 +08:00
nikogu
83b1a5f8ba fixed list grid has scrollbar in ie #8799 2018-01-07 17:35:22 +08:00
niko
99c8444785
remove dump flex style in list for ie compatibility fixed: #8784 (#8798) 2018-01-03 10:02:52 +08:00
afc163
9b2ca4b1aa Fix List pagination margin, close #8562 2017-12-16 17:31:41 +08:00
afc163
f005974c56 refactor list less code 2017-12-16 17:29:49 +08:00
niko
f6a730e2fe
List empty style (#8190) 2017-11-17 11:25:29 +08:00
nikogu
5db04b6d4b update list grid padding bottom 2017-10-27 15:24:11 +08:00
afc163
11c3abb3aa Fix list border 2017-10-26 15:36:48 +08:00
afc163
c44f9528be Tweak list style 2017-10-26 15:07:01 +08:00
nikogu
f8f3e0f936 list update pagination margin top 2017-10-17 14:17:20 +08:00
niko
57d5038d1c fixed: https://github.com/ant-design/ant-design/issues/4905#issuecomment-335710078 (#7875) 2017-10-12 05:09:37 -05:00
niko
b4ed4e6d3f Improve List Component
fixed: https://github.com/ant-design/ant-design/issues/4905#issuecomment-332442843
 (#7853)
2017-10-11 10:29:45 +08:00
偏右
2bced36f0c New component styles (#7731)
* Tweak button padding

* upgrade input and button size

* update form controls size

* update components size

* Add lemon color and update rate color

* Add new icons

* update layout style

* breadcrumb and dropdown

* update menu arrow width

* update layout and menu

* update steps

* fix var name

* update cascasder style

* Update DatePicker

* update InputNumber and Mention

* radio and switch

* select and transfer

* TimePicker & Upload

* more components

* calendar and list

* Tree Timeline Popover Tag

* divider modal popover

* update search input

* update card style

* update switch disabled opacity

* update shoadow and mask

* Add v2-compatible-reset.less

* Fix undefined className

* update snahshotssssssssssssssssss 👻
2017-09-27 22:32:49 +08:00
niko
c64f46c217 List optimize (#7736)
* add split props
* add size props
* add footer & header props
2017-09-26 16:11:35 +08:00
niko
91b97d7b25 List virtualized (#7692)
* add virtualized & infinite demo
* change `children render` to `renderItem`
2017-09-25 15:24:16 +08:00
偏右
759b0bb821 seperate reset styles (#7682)
* seperate reset styles

* not reset ul/ol/p/heading

* revert reset.less idea

* move label style into ant-form-item, #5851

* revert reset.less idea

* update base.less

* Better typography from bootstrap@4

use reboot replace normalize

ref:
b4d84b9cdf/scss/_reboot.scss

close #6162
2017-09-22 18:33:29 +08:00
niko
bceb15c4e6 List:add infinite & detail optimize (#7445)
* List:add infinite & detail optimize

* React.children.map -> context

* update snapshots & demo order

* remove Item.Action _id

* update List demo

* List:add infinite & detail optimize

* React.children.map -> context

* 更新 snap

* update snapshots
2017-09-06 15:53:25 +08:00
nikogu
33c41e97f7 List: change padding bottom 2017-08-30 11:45:47 +08:00
niko
44f63ae010 change list border color (#7390) 2017-08-30 10:30:23 +08:00
niko
56f0716b03 List: support responsive (#7272)
* List: support responsive

* change grid api for responsive & use card responsive function

* abstract getGrid

* update snapshots

* defind grid columns number

* defind grid columns number

* add ListGridType
2017-08-21 21:14:20 +08:00
nikogu
4e68750777 List: remove noHovering prop 2017-08-15 19:57:44 +08:00
niko
600d589617 fixed some list style bug (#7177)
* fixed some list style bug

* add cursor:pointer to hover style

* fixed hover style
2017-08-15 17:25:14 +08:00
nikogu
0034d0529c add list grid 2017-08-14 11:09:22 +08:00
niko
5836a49899 remove List.Item.Content & change List.Item.Action to List actions props (#7159) 2017-08-09 21:46:48 +08:00
niko
12bbe3776c Feature list component (#7150)
* add list component

* fixed the demo syntax

* update list snapshots
2017-08-09 15:45:08 +08:00