fix
This commit is contained in:
@@ -25,7 +25,7 @@ const { items = [] } = Astro.props;
|
|||||||
class="flex max-lg:overflow-x-scroll max-lg:snap-x snap-mandatory scroll-smooth scrollbar-hide space-x-4 lg:gap-8 lg:justify-center"
|
class="flex max-lg:overflow-x-scroll max-lg:snap-x snap-mandatory scroll-smooth scrollbar-hide space-x-4 lg:gap-8 lg:justify-center"
|
||||||
>
|
>
|
||||||
{
|
{
|
||||||
items.map((Component, idx) => (
|
items.map((Component, idx: number) => (
|
||||||
<div
|
<div
|
||||||
class="snap-center flex-shrink-0 max-lg:w-full flex justify-center itens-center"
|
class="snap-center flex-shrink-0 max-lg:w-full flex justify-center itens-center"
|
||||||
id={`slide${idx + 1}`}
|
id={`slide${idx + 1}`}
|
||||||
|
|||||||
@@ -17,8 +17,9 @@ const relatedCourses = data?.relatedCourses
|
|||||||
<Container class="flex items-center relative py-3">
|
<Container class="flex items-center relative py-3">
|
||||||
<button
|
<button
|
||||||
data-toggle="menu"
|
data-toggle="menu"
|
||||||
class="text-black font-medium cursor-pointer lg:bg-white/15 hover:outline lg:border border-black lg:py-0.5 lg:px-2.5 rounded-lg transition flex items-center gap-1
|
class="text-black font-medium cursor-pointer lg:bg-white/15 hover:outline
|
||||||
lg:group-open/menu:outline"
|
lg:border border-black lg:py-0.5 lg:px-2.5 rounded-lg transition
|
||||||
|
flex items-center gap-1 lg:group-open/menu:outline"
|
||||||
>
|
>
|
||||||
<div class="truncate max-w-36 sm:max-w-72">
|
<div class="truncate max-w-36 sm:max-w-72">
|
||||||
{title}
|
{title}
|
||||||
|
|||||||
Reference in New Issue
Block a user