mirror of
https://github.com/kuaifan/dootask.git
synced 2025-12-14 04:32:49 +00:00
perf: 优化iPadOS兼容性
This commit is contained in:
parent
8368bbec47
commit
b4aa8b37ea
@ -17,7 +17,11 @@
|
|||||||
:reverse="true"
|
:reverse="true"
|
||||||
:beforeResize="beforeResize"
|
:beforeResize="beforeResize"
|
||||||
@on-change="onChangeResize"/>
|
@on-change="onChangeResize"/>
|
||||||
<div class="overlay-content"><slot/></div>
|
<div class="overlay-content">
|
||||||
|
<div class="overlay-content-status"></div>
|
||||||
|
<div class="overlay-content-body"><slot/></div>
|
||||||
|
<div class="overlay-content-navigation"></div>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
|||||||
@ -1,3 +1,16 @@
|
|||||||
|
body {
|
||||||
|
.ivu-modal-wrap {
|
||||||
|
&.common-drawer-overlay {
|
||||||
|
.ivu-modal {
|
||||||
|
.ivu-modal-content {
|
||||||
|
margin-top: 0;
|
||||||
|
margin-bottom: 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
.common-drawer-overlay {
|
.common-drawer-overlay {
|
||||||
.ivu-modal {
|
.ivu-modal {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
@ -35,6 +48,7 @@
|
|||||||
display: flex;
|
display: flex;
|
||||||
align-items: flex-end;
|
align-items: flex-end;
|
||||||
justify-content: flex-end;
|
justify-content: flex-end;
|
||||||
|
padding-top: var(--status-bar-height);
|
||||||
|
|
||||||
> a {
|
> a {
|
||||||
display: flex;
|
display: flex;
|
||||||
@ -76,6 +90,24 @@
|
|||||||
background: #fff;
|
background: #fff;
|
||||||
border-radius: 18px 18px 0 0;
|
border-radius: 18px 18px 0 0;
|
||||||
cursor: default;
|
cursor: default;
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
|
||||||
|
.overlay-content-status {
|
||||||
|
flex-shrink: 0;
|
||||||
|
height: var(--status-bar-height);
|
||||||
|
}
|
||||||
|
|
||||||
|
.overlay-content-body {
|
||||||
|
flex: 1;
|
||||||
|
height: 0;
|
||||||
|
position: relative;
|
||||||
|
}
|
||||||
|
|
||||||
|
.overlay-content-navigation {
|
||||||
|
flex-shrink: 0;
|
||||||
|
height: var(--navigation-bar-height);
|
||||||
|
}
|
||||||
|
|
||||||
.ivu-modal-wrap-apply {
|
.ivu-modal-wrap-apply {
|
||||||
.ivu-modal-wrap-apply-title {
|
.ivu-modal-wrap-apply-title {
|
||||||
|
|||||||
@ -63,6 +63,7 @@
|
|||||||
flex-shrink: 0;
|
flex-shrink: 0;
|
||||||
border-right: 1px solid #F4F4F5;
|
border-right: 1px solid #F4F4F5;
|
||||||
overflow: auto;
|
overflow: auto;
|
||||||
|
z-index: 1;
|
||||||
> ul {
|
> ul {
|
||||||
padding: 12px 0 0 32px;
|
padding: 12px 0 0 32px;
|
||||||
> li {
|
> li {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user