Hide scrollbars across mini program pages
This commit is contained in:
@@ -1 +1 @@
|
||||
{ "usingComponents": { "tab-bar": "/components/tab-bar/index" } }
|
||||
{ "disableScroll": true, "usingComponents": { "tab-bar": "/components/tab-bar/index" } }
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
<scroll-view class="page-scroll" scroll-y="{{true}}" enhanced="{{true}}" show-scrollbar="{{false}}">
|
||||
<view class="screen">
|
||||
<safe-top />
|
||||
<view class="eyebrow">LITTLE THINGS, BIG LOVE</view>
|
||||
@@ -49,6 +50,7 @@
|
||||
</view>
|
||||
<button class="primary" bindtap="open">+ 新建日常任务</button>
|
||||
</view>
|
||||
</scroll-view>
|
||||
<view wx:if="{{showForm}}" class="overlay">
|
||||
<view class="sheet">
|
||||
<view class="row">
|
||||
|
||||
@@ -107,6 +107,11 @@
|
||||
max-height: 85vh;
|
||||
overflow: auto;
|
||||
}
|
||||
.sheet::-webkit-scrollbar {
|
||||
display: none;
|
||||
width: 0;
|
||||
height: 0;
|
||||
}
|
||||
.sheet > .row strong {
|
||||
font-size: 33rpx;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user