src/views/home/index.vue
@@ -1,6 +1,6 @@ <template> <div class="home-page container mx-auto flex justify-between py-6"> <UserPanel class="flex-shrink-0 mr-5"></UserPanel> <UserPanel class="flex-shrink-0 mr-5 sticky top-6"></UserPanel> <InfoPanel class="flex-shrink-0 grow"></InfoPanel> </div> </template> @@ -12,7 +12,7 @@ </script> <style lang="scss" scoped> ::v-deep .card { :deep(.card) { border-radius: 30px; } @@ -21,4 +21,5 @@ max-width: 1724px; } } </style>