diff --git a/template/code/default/src/components/HelloWorld.vue b/template/code/default/src/components/HelloWorld.vue index 0a0988bc..5fb372c9 100644 --- a/template/code/default/src/components/HelloWorld.vue +++ b/template/code/default/src/components/HelloWorld.vue @@ -22,6 +22,7 @@ defineProps({ h1 { font-weight: 500; font-size: 2.6rem; + position: relative; top: -10px; } diff --git a/template/code/router/src/components/HelloWorld.vue b/template/code/router/src/components/HelloWorld.vue index 0a0988bc..5fb372c9 100644 --- a/template/code/router/src/components/HelloWorld.vue +++ b/template/code/router/src/components/HelloWorld.vue @@ -22,6 +22,7 @@ defineProps({ h1 { font-weight: 500; font-size: 2.6rem; + position: relative; top: -10px; } diff --git a/template/code/router/src/components/WelcomeItem.vue b/template/code/router/src/components/WelcomeItem.vue index a5eca70f..ac366d07 100644 --- a/template/code/router/src/components/WelcomeItem.vue +++ b/template/code/router/src/components/WelcomeItem.vue @@ -16,6 +16,7 @@ .item { margin-top: 2rem; display: flex; + position: relative; } .details { diff --git a/template/code/typescript-default/src/components/HelloWorld.vue b/template/code/typescript-default/src/components/HelloWorld.vue index 8901544c..e1a721cc 100644 --- a/template/code/typescript-default/src/components/HelloWorld.vue +++ b/template/code/typescript-default/src/components/HelloWorld.vue @@ -19,6 +19,7 @@ defineProps<{ h1 { font-weight: 500; font-size: 2.6rem; + position: relative; top: -10px; } diff --git a/template/code/typescript-default/src/components/WelcomeItem.vue b/template/code/typescript-default/src/components/WelcomeItem.vue index ba0def33..6d7086ae 100644 --- a/template/code/typescript-default/src/components/WelcomeItem.vue +++ b/template/code/typescript-default/src/components/WelcomeItem.vue @@ -16,6 +16,7 @@ .item { margin-top: 2rem; display: flex; + position: relative; } .details { diff --git a/template/code/typescript-router/src/components/HelloWorld.vue b/template/code/typescript-router/src/components/HelloWorld.vue index 23afedd7..38d821ef 100644 --- a/template/code/typescript-router/src/components/HelloWorld.vue +++ b/template/code/typescript-router/src/components/HelloWorld.vue @@ -19,6 +19,7 @@ defineProps<{ h1 { font-weight: 500; font-size: 2.6rem; + position: relative; top: -10px; } diff --git a/template/code/typescript-router/src/components/WelcomeItem.vue b/template/code/typescript-router/src/components/WelcomeItem.vue index ba0def33..6d7086ae 100644 --- a/template/code/typescript-router/src/components/WelcomeItem.vue +++ b/template/code/typescript-router/src/components/WelcomeItem.vue @@ -16,6 +16,7 @@ .item { margin-top: 2rem; display: flex; + position: relative; } .details {