Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: remove empty directory span #822

Merged
merged 2 commits into from Feb 20, 2023
Merged

fix: remove empty directory span #822

merged 2 commits into from Feb 20, 2023

Conversation

bdrtsky
Copy link
Contributor

@bdrtsky bdrtsky commented Feb 16, 2023

Fixes centring when there's no directory.

@vercel
Copy link

vercel bot commented Feb 16, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated
docus ✅ Ready (Inspect) Visit Preview Feb 20, 2023 at 10:16AM (UTC)

@@ -26,7 +26,7 @@ const directory = (link: any) => {
>
<Icon name="heroicons-outline:arrow-sm-left" class="icon" />
<div class="wrapper">
<span class="directory">
<span v-if="!!directory(prev._path)" class="directory">
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why not:

Suggested change
<span v-if="!!directory(prev._path)" class="directory">
<span v-if="directory(prev._path)" class="directory">

@bdrtsky bdrtsky merged commit 95ca11e into main Feb 20, 2023
@bdrtsky bdrtsky deleted the fix/prevnext-remove-empty branch February 20, 2023 10:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants