优化Presentation组件,确保移动端横屏模式正常显示
This commit is contained in:
parent
793978ed24
commit
b33ee601d7
@ -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;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user