mirror of
https://github.com/youzan/vant.git
synced 2026-05-16 01:07:43 +08:00
[improvement] Tabbar: add iPhone X layout feature for fixed tabbar (#3149)
This commit is contained in:
@@ -11,4 +11,10 @@
|
||||
bottom: 0;
|
||||
position: fixed;
|
||||
}
|
||||
|
||||
&--safe-area-inset-bottom {
|
||||
padding-bottom: 0;
|
||||
padding-bottom: constant(safe-area-inset-bottom);
|
||||
padding-bottom: env(safe-area-inset-bottom);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user