Skip to content

Commit

Permalink
fix: Play.vue persistNav Wrong style class name (#511)
Browse files Browse the repository at this point in the history
  • Loading branch information
kirklin committed Mar 8, 2022
1 parent ce1ea2c commit a62a40e
Show file tree
Hide file tree
Showing 4 changed files with 470 additions and 356 deletions.
4 changes: 2 additions & 2 deletions README.md
Expand Up @@ -22,7 +22,7 @@ Presentation <b>slide</b>s for <b>dev</b>elopers 🧑‍💻👩‍💻👨‍
<a href="https://twitter.com/antfu7/status/1389604687502995457">Video Preview</a> | <a href="https://sli.dev">Documentation</a>
</p>

<p align="center">
<div align="center">
<table>
<tbody>
<td align="center">
Expand All @@ -33,7 +33,7 @@ Status: <b>Public Beta 🎉</b><br>
</td>
</tbody>
</table>
</p>
</div>

## Features

Expand Down
2 changes: 2 additions & 0 deletions demo/composable-vue/package.json
Expand Up @@ -7,6 +7,8 @@
"export:clicks": "slidev export --with-clicks"
},
"devDependencies": {
"@iconify-json/mdi": "^1.1.1",
"@iconify-json/ri": "^1.1.1",
"@slidev/cli": "workspace:*",
"@slidev/theme-default": "^0.21.1",
"@slidev/theme-seriph": "^0.21.1",
Expand Down
2 changes: 1 addition & 1 deletion packages/client/internals/Play.vue
Expand Up @@ -55,7 +55,7 @@ if (__SLIDEV_FEATURE_DRAWINGS__)
<div
class="absolute bottom-0 left-0 transition duration-300 opacity-0 hover:opacity-100"
:class="[
persistNav ? 'opacity-100 right-0' : 'oapcity-0 p-2',
persistNav ? 'opacity-100 right-0' : 'opacity-0 p-2',
isDrawing ? 'pointer-events-none': ''
]"
>
Expand Down

0 comments on commit a62a40e

Please sign in to comment.