nx: add containment

Signed-off-by: Varun Patil <radialapps@gmail.com>
pull/672/head
Varun Patil 2023-05-23 20:19:21 -07:00
parent 40fc7ab44c
commit b15ae11c72
2 changed files with 2 additions and 0 deletions

View File

@ -62,6 +62,7 @@ export default defineComponent({
<style lang="scss" scoped> <style lang="scss" scoped>
#mobile-header { #mobile-header {
contain: strict;
position: fixed; position: fixed;
top: 0; top: 0;
left: 0; left: 0;

View File

@ -50,6 +50,7 @@ export default defineComponent({
// Show correct nav depending on screen size // Show correct nav depending on screen size
#mobile-nav { #mobile-nav {
contain: strict;
display: none; display: none;
} }