alvarosabu / slidev-theme-penguin

A Penguin 🐧 theme for Slidev
https://slidev-theme-penguin.alvarosaburido.dev/
152 stars 49 forks source link

fix: the corner curves overlap the content in default template #19

Closed zuramai closed 2 years ago

zuramai commented 2 years ago

Screenshot_20220518_192922

As you can see in above image, the corner curves is positioned above the contents. It is because the z-10 in the content wrapper does not give an effect due to the unpositioned element. So I added relative class and it solved.

<CornerCurves class="absolute transform bottom-0 right-0 flip-x" />
<div class="my-auto z-10 relative">
      <slot />
</div>
github-actions[bot] commented 2 years ago

:tada: This PR is included in version 1.4.1 :tada:

The release is available on:

Your semantic-release bot :package::rocket: