Skip to content

Commit 5a98d24

Browse files
committed
fix svg without size
1 parent 5660885 commit 5a98d24

File tree

1 file changed

+12
-8
lines changed

1 file changed

+12
-8
lines changed

assets/css/components.css

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,29 @@
11
@layer components {
22
.card {
33
@apply flex flex-col gap-2 rounded-sm border border-gray-200 bg-white p-3 mt-2 mb-2;
4-
@apply dark:border-gray-700 dark:bg-gray-900;
5-
@apply dark:text-gray-100;
6-
4+
@apply dark:border-gray-700 dark:bg-gray-900 dark:text-gray-100;
5+
@apply transition-shadow duration-200;
6+
&:hover, &:focus {
7+
@apply border-gray-300 dark:border-gray-600;
8+
}
9+
}
10+
.card-link:hover {
11+
@apply !no-underline;
712
}
813
.card-header {
914
@apply flex gap-2 mb-2 items-center;
1015
@apply text-gray-800 dark:text-gray-200;
11-
@apply text-lg font-light;
1216
}
1317
.card-icon {
1418
@apply text-gray-500;
15-
}
16-
.card-icon{
1719
@apply text-gray-800 dark:text-gray-200;
1820
}
1921
.card-img, .card-img svg{
20-
@apply max-h-5 max-w-5 m-0 fill-current flex items-center justify-center;
22+
@apply max-h-5 max-w-5 min-w-5 min-h-5 m-0 fill-current flex items-center justify-center;
23+
}
24+
.card-title{
25+
@apply font-semibold;
2126
}
22-
2327
.card-content {
2428
@apply text-gray-700;
2529
@apply dark:text-gray-200;

0 commit comments

Comments
 (0)