refining icon sizing

This commit is contained in:
Antoine M 2023-12-21 12:27:39 +01:00
parent 8180f2d68e
commit 3d361f2a08
2 changed files with 13 additions and 10 deletions

View File

@ -32,18 +32,21 @@
&__press-ressource + &__press-ressource { &__press-ressource + &__press-ressource {
border-top: 1px solid #e2e8f0; border-top: 1px solid #e2e8f0;
} }
&__ressource-typename {
@apply flex gap-8 col-span-4 items-center;
}
&__ressource-icon { &__ressource-icon {
@apply bg-white shadowed @apply bg-white shadowed
w-24 h-24 shrink-0
mx-auto w-20 h-20
rounded-3xl rounded-2xl
flex flex
items-center items-center
justify-center; justify-center;
/* @apply w-12 col-span-1; */ /* @apply w-12 col-span-1; */
img { img {
max-width: 80%; max-width: 50%;
max-height: 50%; max-height: 60%;
} }
} }
&__ressource-title { &__ressource-title {
@ -56,6 +59,6 @@
@apply col-span-2 capitalize; @apply col-span-2 capitalize;
} }
&__ressource-download { &__ressource-download {
@apply col-span-2; @apply col-span-2 mx-auto;
} }
} }

View File

@ -32,16 +32,16 @@
} }
&__review-icon { &__review-icon {
@apply bg-white shadowed @apply bg-white shadowed
w-24 h-24 w-20 h-20
mx-auto mx-auto
rounded-3xl rounded-2xl
flex flex
items-center items-center
justify-center; justify-center;
/* @apply w-12 col-span-1; */ /* @apply w-12 col-span-1; */
img { img {
max-width: 80%; max-width: 50%;
max-height: 50%; max-height: 60%;
} }
} }
&__article-title-link { &__article-title-link {