Navigation Menu

Skip to content

Commit

Permalink
Merge pull request ant-design#15301 from ant-design/fix-list-content-…
Browse files Browse the repository at this point in the history
…color

Keep same content color of List like previous version
  • Loading branch information
afc163 committed Mar 10, 2019
2 parents 369a3cd + 4275430 commit c4473e3
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions components/list/style/index.less
Expand Up @@ -6,13 +6,16 @@
.@{list-prefix-cls} {
.reset-component;
position: relative;

* {
outline: none;
}

&-pagination {
margin-top: 24px;
text-align: right;
}

&-more {
margin-top: 12px;
text-align: center;
Expand All @@ -21,16 +24,19 @@
padding-left: 32px;
}
}

&-spin {
min-height: 40px;
text-align: center;
}

&-empty-text {
padding: @list-empty-text-padding;
color: @text-color-secondary;
font-size: @font-size-base;
text-align: center;
}

&-item {
display: flex;
padding: @list-item-padding;
Expand All @@ -39,6 +45,10 @@
display: block;
}

&-content {
color: @text-color;
}

&-meta {
display: flex;
flex: 1;
Expand Down

0 comments on commit c4473e3

Please sign in to comment.