-
-
refresh()} className="refreshButton" />
+
refresh()} className="refreshButton" style={{ bottom: isMobile ? safeAreaBottom + 40 + 'px' : '24px' }} />
{props.qrDataUrl && !isMobile && (
diff --git a/src/Components/pane/index.css b/src/Components/pane/index.css
index 6d41025..8ed1fe5 100644
--- a/src/Components/pane/index.css
+++ b/src/Components/pane/index.css
@@ -1,12 +1,12 @@
.Pane {
width: 370px;
background-color: #535353;
- min-height: 100vh;
padding: 24px;
box-sizing: border-box;
display: flex;
flex-direction: column;
position: relative;
+ overflow: hidden;
}
.selectPager {
@@ -20,13 +20,19 @@
top: 0;
bottom: 0;
width: 60vw;
- height: 100vh;
background-color: #535353;
z-index: 1000;
overflow: hidden;
transition: width 0.2s linear;
}
+/* @TODO 横屏模式 */
+@media only screen and (orientation: landscape) {
+ .Pane.mobile {
+ width: 30vw;
+ }
+}
+
.flod-menu-btn-warpper {
position: fixed;
right: 12px;
diff --git a/src/Components/pane/index.js b/src/Components/pane/index.js
index 094da3c..0b7e7ed 100644
--- a/src/Components/pane/index.js
+++ b/src/Components/pane/index.js
@@ -77,7 +77,7 @@ function Pane(props) {
return (
-