From ac100de8d8e0fc85e34cde9aec6262259b12f96c Mon Sep 17 00:00:00 2001 From: Cristiano Magro <cristiano.magro@vola.it> Date: Mon, 30 Dec 2024 21:53:48 +0100 Subject: [PATCH] style scoped locali --- 09 - deeper into components/cmp-adv-01-starting-setup/src/components/UserInfo.vue | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/09 - deeper into components/cmp-adv-01-starting-setup/src/components/UserInfo.vue b/09 - deeper into components/cmp-adv-01-starting-setup/src/components/UserInfo.vue index 7705c95..04dcf0f 100644 --- a/09 - deeper into components/cmp-adv-01-starting-setup/src/components/UserInfo.vue +++ b/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; -- Gitblit v1.8.0