@@ -80,6 +80,39 @@ export default {
8080 min-height : 0px ;
8181 }
8282}
83+
84+ /* 移动端fixed-header优化 */
85+ @media screen and (max-width : 991px ) {
86+ .fixed-header + .app-main {
87+ padding-bottom : max (60px , calc (constant (safe-area-inset-bottom ) + 40px ));
88+ padding-bottom : max (60px , calc (env (safe-area-inset-bottom ) + 40px ));
89+ overscroll-behavior-y : none ;
90+ }
91+
92+ .hasTagsView .fixed-header + .app-main {
93+ padding-bottom : max (60px , calc (constant (safe-area-inset-bottom ) + 40px ));
94+ padding-bottom : max (60px , calc (env (safe-area-inset-bottom ) + 40px ));
95+ overscroll-behavior-y : none ;
96+ }
97+ }
98+
99+ @supports (-webkit-touch-callout : none ) {
100+ @media screen and (max-width : 991px ) {
101+ .fixed-header + .app-main {
102+ padding-bottom : max (17px , calc (constant (safe-area-inset-bottom ) + 10px ));
103+ padding-bottom : max (17px , calc (env (safe-area-inset-bottom ) + 10px ));
104+ height : calc (100 svh - 50px );
105+ height : calc (100 dvh - 50px );
106+ }
107+
108+ .hasTagsView .fixed-header + .app-main {
109+ padding-bottom : max (17px , calc (constant (safe-area-inset-bottom ) + 10px ));
110+ padding-bottom : max (17px , calc (env (safe-area-inset-bottom ) + 10px ));
111+ height : calc (100 svh - 84px );
112+ height : calc (100 dvh - 84px );
113+ }
114+ }
115+ }
83116 </style >
84117
85118<style lang="scss">
0 commit comments