Use line-height instead of negative margins (#20)

This commit is contained in:
Evan Simkowitz
2024-09-24 14:50:48 -07:00
committed by GitHub
parent 0835bd13c5
commit 9d770f6d7b
+2 -2
View File
@@ -24,12 +24,12 @@
grid-column: span 1;
grid-row: span 2;
padding: 1rem;
gap: 0;
.icon {
grid-column: 1;
grid-row: 1;
font-size: 1.5rem;
line-height: 1.5rem;
}
.title {
@@ -37,7 +37,7 @@
grid-row: 1;
font-weight: bold;
font-size: 1.2rem;
margin-top: -0.25rem;
line-height: 1.45rem;
}
.description {