Skip to content

Commit

Permalink
doc: home page overflow
Browse files Browse the repository at this point in the history
  • Loading branch information
harlan-zw committed Aug 7, 2024
1 parent 59c9bed commit f624892
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions docs/pages/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ const contributors = useRuntimeConfig().public.contributors
:links="links"
orientation="horizontal"
:ui="{
container: 'flex flex-row justify-start items-center',
container: 'max-w-full overflow-hidden py-10 flex flex-row items-center justify-center gap-1 max-w-full',
links: 'flex items-center gap-2',
description: 'text-gray-500 dark:text-gray-400 text-xl max-w-2xl leading-normal mb-10',
}"
Expand All @@ -251,8 +251,7 @@ const contributors = useRuntimeConfig().public.contributors
</template>

<div class="relative hidden xl:block">
<div class="absolute -z-1 -right-[450px] -top-[200px]">
<div class="w-[450px] grid-transform justify-center items-center grid grid-cols-4 ">
<div class=" w-full max-w-full w-full grid-transform justify-center items-center grid grid-cols-4 ">
<a v-for="(script, key) in registry.filter(s => s.label !== 'Carbon Ads').slice(0, 16)" :key="key" ref="card" :href="`/scripts/${script.category}/${script.label.toLowerCase().replace(/ /g, '-')}`" class="card py-5 px-3 rounded block" :style="{ zIndex: key }">

Check failure on line 255 in docs/pages/index.vue

View workflow job for this annotation

GitHub Actions / ci

Expected indentation of 10 spaces but found 12 spaces
<template v-if="typeof script.logo !== 'string'">

Check failure on line 256 in docs/pages/index.vue

View workflow job for this annotation

GitHub Actions / ci

Expected indentation of 12 spaces but found 14 spaces
<div class="logo h-12 w-auto block dark:hidden" v-html="script.logo.light" />

Check failure on line 257 in docs/pages/index.vue

View workflow job for this annotation

GitHub Actions / ci

Expected indentation of 14 spaces but found 16 spaces
Expand All @@ -262,7 +261,6 @@ const contributors = useRuntimeConfig().public.contributors
<img v-else class="h-10 w-auto mx-auto logo" :src="script.logo">

Check failure on line 261 in docs/pages/index.vue

View workflow job for this annotation

GitHub Actions / ci

Expected indentation of 12 spaces but found 14 spaces
</a>

Check failure on line 262 in docs/pages/index.vue

View workflow job for this annotation

GitHub Actions / ci

Expected indentation of 10 spaces but found 12 spaces
</div>

Check failure on line 263 in docs/pages/index.vue

View workflow job for this annotation

GitHub Actions / ci

Expected indentation of 8 spaces but found 10 spaces
</div>
</div>
</ULandingHero>

Expand Down

0 comments on commit f624892

Please sign in to comment.