Skip to content

Commit

Permalink
fix: added style to make sure stories can be scrolled in editor
Browse files Browse the repository at this point in the history
  • Loading branch information
santilland committed May 21, 2024
1 parent c7e7999 commit 3cfb18e
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions storyviewer/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,13 @@ layout: page
storyid = searchParams.get('storyid');
if (storyid && storyid in data) {
storyurl = data[storyid].file;
console.log(storyurl);
}
}

</script>

<eox-storytelling v-if="storyurl" :markdown-url="withBase(storyurl)"></eox-storytelling>
<eox-storytelling
v-if="storyurl"
:markdown-url="withBase(storyurl)"
style="overflow-y: auto; height: calc(var(--vh, 2vh) * 100);">
</eox-storytelling>

0 comments on commit 3cfb18e

Please sign in to comment.