Commit ed6c810c by 展昭

update

parent 438ce0fd
...@@ -13,12 +13,17 @@ i { ...@@ -13,12 +13,17 @@ i {
color: #077AEC; color: #077AEC;
} }
@supports(top:constant(safe-area-inset-top)) { @supports(padding-top:constant(safe-area-inset-top)) {
.container { .container {
padding-top: calc(46px+constant(safe-area-inset-top)); padding-top: calc(46px+constant(safe-area-inset-top));
color: yellow;
} }
} }
.container {
padding-top: calc(46px+constant(safe-area-inset-top));
color: #f00;
}
.mt0 { .mt0 {
......
...@@ -39,7 +39,7 @@ export default { ...@@ -39,7 +39,7 @@ export default {
</script> </script>
<style scoped> <style scoped>
@supports (top: constant(safe-area-inset-top)) { @supports (padding-top: constant(safe-area-inset-top)) {
.iosStyle { .iosStyle {
padding-top: constant(safe-area-inset-top); padding-top: constant(safe-area-inset-top);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment