09 - deeper into components/cmp-adv-01-starting-setup/src/components/UserInfo.vue
@@ -1,9 +1,9 @@ <template> <section> <div> <header> <h3>{{ fullName }}</h3> <base-badge :type="role" :caption="role.toUpperCase()"></base-badge> </div> </header> <p>{{ infoText }}</p> </section> </template> @@ -14,7 +14,7 @@ }; </script> <style> <style scoped> section { margin: 2rem auto; max-width: 30rem; @@ -23,7 +23,7 @@ padding: 1rem; } section div { section header { display: flex; justify-content: space-between; align-items: center;