Skip to content

Commit

Permalink
fixes readme container ref
Browse files Browse the repository at this point in the history
  • Loading branch information
syropian committed Apr 15, 2024
1 parent 2011927 commit 7732ff5
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions resources/components/readme/Readme.vue
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import TransitionFade from '@/components/shared/transitions/TransitionFade.vue'
import { useStarsStore } from '@/store/useStarsStore'
import { randomIntFromRange } from '@/utils'
import { debouncedWatch } from '@vueuse/core'
import Cookie from 'js-cookie'
// import Cookie from 'js-cookie'
import { computed, nextTick, ref, watch } from 'vue'
const starsStore = useStarsStore()
Expand Down Expand Up @@ -138,10 +138,7 @@ const patchReadmeImages = () => {
</script>

<template>
<div
ref="readmeContainerEl"
class="relative flex-grow overflow-y-auto"
>
<div class="relative flex-grow overflow-y-auto">
<div
v-show="noRepoSelected"
class="absolute inset-0 z-10 flex flex-col items-center justify-center bg-gray-50 p-4 text-center text-gray-500 dark:bg-gray-900"
Expand All @@ -168,6 +165,7 @@ const patchReadmeImages = () => {

<div
class="relative h-full overflow-auto"
ref="readmeContainerEl"
:style="{ zIndex: visibleStacks.length + 1 }"
>
<div
Expand Down

0 comments on commit 7732ff5

Please sign in to comment.