Update Card component overflow behaviour (#4106)

This commit is contained in:
Vincenzo De Petris 2021-10-15 21:10:30 +02:00 committed by GitHub
parent 6d7d95e067
commit 94c8f5599b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -183,9 +183,13 @@ const CardBody = styled.div`
color: var(--font-color);
margin-top: var(--padding-md);
padding-left: var(--padding-md);
overflow-y: auto;
.title {
font-size: var(--font-size-md);
padding-right: var(--padding-md);
overflow-x: hidden;
text-overflow: ellipsis;
}
.version {
@ -197,6 +201,7 @@ const CardBody = styled.div`
const CardFooter = styled.div`
margin-top: auto;
padding-left: var(--padding-md);
padding-top: var(--padding-sm);
padding-bottom: var(--padding-sm);
color: var(--hl-xl);