mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-24 19:19:57 +08:00
update resource page style
This commit is contained in:
parent
d2b7c4f2ec
commit
c93ef7663c
@ -20,7 +20,8 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.resource-card:hover {
|
.resource-card:hover {
|
||||||
box-shadow: 0 1px 6px rgba(100, 100, 100, .2);
|
box-shadow: 0 3px 8px #d3ddeb;
|
||||||
|
border-color: transparent;
|
||||||
}
|
}
|
||||||
|
|
||||||
.resource-card:hover .resource-card-title {
|
.resource-card:hover .resource-card-title {
|
||||||
@ -58,8 +59,8 @@
|
|||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
text-overflow: ellipsis;
|
text-overflow: ellipsis;
|
||||||
line-height: 1;
|
line-height: 1.2;
|
||||||
margin-bottom: 8px;
|
margin-bottom: 6px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.resource-card-description {
|
.resource-card-description {
|
||||||
|
Loading…
Reference in New Issue
Block a user