Skip to content

Commit 1224209

Browse files
committed
fix auto-scroll on guests overflow
1 parent f7f307a commit 1224209

2 files changed

Lines changed: 5 additions & 1 deletion

File tree

‎apps/codingcatdev/src/routes/(content-single)/(non-course)/Content.svelte‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
<Image src={data.content.cover} alt={data.content.title} />
3636
{/if}
3737

38-
<div class="flex gap-2 md:gap-8">
38+
<div class="flex gap-2 md:gap-8 overflow-x-auto p-2">
3939
<!-- Guests -->
4040
{#if data?.guests}
4141
<section class="flex gap-2 md:gap-8">

‎apps/codingcatdev/src/styles/app.css‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
::-webkit-scrollbar {
2+
@apply h-2;
3+
}
4+
15
html,
26
body {
37
@apply h-full overflow-hidden;

0 commit comments

Comments
 (0)