Skip to content

Commit 6bdfeaa

Browse files
committed
give callout some space for mobile
1 parent a3f7704 commit 6bdfeaa

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

usehooks.com/src/components/HookDescription.astro

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ const { name } = Astro.props;
4343
}
4444

4545
.callout {
46-
margin-top: 1rem;
46+
margin: 1rem 0 1.5rem;
4747
align-self: start;
4848
padding: 1.5rem;
4949
padding-bottom: 0;
@@ -76,6 +76,7 @@ const { name } = Astro.props;
7676
@media screen and (min-width: 811px) {
7777
.callout {
7878
max-width: var(--callout-width);
79+
margin-bottom: 0;
7980
}
8081
}
8182
</style>

0 commit comments

Comments
 (0)