优化Presentation组件,确保移动端横屏模式正常显示

This commit is contained in:
jingrow 2025-09-05 21:36:21 +08:00
parent 793978ed24
commit b33ee601d7

View File

@ -226,7 +226,7 @@ export default function Presentation({ data }) {
<style jsx global>{`
.reveal-container {
height: 100vh;
height: 100%;
width: 100%;
position: fixed;
top: 0;
@ -234,15 +234,6 @@ export default function Presentation({ data }) {
z-index: 1000;
}
.reveal-container .reveal {
height: 100% !important;
width: 100% !important;
}
.reveal-container .reveal .slides {
height: 100% !important;
}
.reveal-container .reveal .slides section {
height: 100% !important;
display: flex !important;