ant-design/components/list/style/responsive.less

44 lines
654 B
Plaintext
Raw Normal View History

2017-12-16 17:29:49 +08:00
@media screen and (max-width: @screen-md) {
.@{list-prefix-cls} {
&-item {
&-action {
margin-left: 24px;
}
}
}
.@{list-prefix-cls}-vertical {
.@{list-prefix-cls}-item {
&-extra {
margin-left: 24px;
}
}
}
}
@media screen and (max-width: @screen-sm) {
2017-12-16 17:29:49 +08:00
.@{list-prefix-cls} {
&-item {
flex-wrap: wrap;
2017-12-16 17:29:49 +08:00
&-action {
margin-left: 12px;
}
}
}
.@{list-prefix-cls}-vertical {
.@{list-prefix-cls}-item {
flex-wrap: wrap-reverse;
2017-12-16 17:29:49 +08:00
&-main {
min-width: 220px;
}
2017-12-16 17:29:49 +08:00
&-extra {
margin: auto auto 16px;
2017-12-16 17:29:49 +08:00
}
}
}
}