Skip to content

Commit 20f68bd

Browse files
author
babin
committed
main 🧊 styles for hooks sections changes
1 parent fa5e2f7 commit 20f68bd

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

‎packages/docs/app/.vitepress/sections/HomeHooks/HomeHooks.vue‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,13 +25,13 @@ const filteredHooks = computed(() =>
2525

2626
<template>
2727
<div
28-
class="py-8! px-6! relative mt-10 h-[340px] overflow-hidden rounded-lg bg-[var(--vp-c-bg-soft)] lg:h-[365px]"
28+
class="py-8! px-3! mt-10 h-[315px] overflow-hidden rounded-lg bg-[var(--vp-c-bg-soft)] md:px-6"
2929
>
30-
<div class="flex flex-col items-center justify-between gap-4 md:flex-row">
31-
<div class="text-center text-3xl font-bold md:text-4xl xl:text-6xl">The hooks you need</div>
30+
<div class="flex flex-col items-start justify-between gap-4 md:flex-row md:items-center">
31+
<div class="text-center text-4xl font-bold xl:text-6xl">The hooks you need</div>
3232

3333
<div
34-
class="flex w-fit items-center gap-3 rounded-lg bg-[var(--vp-c-default-soft)] p-2 px-4 text-2xl"
34+
class="flex w-full items-center gap-3 rounded-lg bg-[var(--vp-c-default-soft)] p-2 px-4 text-2xl md:w-fit"
3535
>
3636
<svg
3737
class="stroke-[var(--vp-c-brand-1)]"
@@ -52,7 +52,7 @@ const filteredHooks = computed(() =>
5252
</div>
5353
</div>
5454

55-
<div class="md:top-30 absolute left-2 top-40 flex w-[130%] flex-wrap justify-start gap-3">
55+
<div class="mt-10 flex w-[130%] flex-wrap justify-start gap-3">
5656
<div v-for="hook in filteredHooks.slice(0, 40)" :key="hook.name">
5757
<a
5858
:href="`/reactuse/functions/hooks/${hook.name}`"

0 commit comments

Comments
 (0)