]> git.ipfire.org Git - thirdparty/vuejs/create-vue.git/commitdiff
fix: relative position in h1 and WelcomeItem (#278)
author汪心禾 <wangxinhe06@gmail.com>
Tue, 16 May 2023 09:14:52 +0000 (17:14 +0800)
committerGitHub <noreply@github.com>
Tue, 16 May 2023 09:14:52 +0000 (17:14 +0800)
template/code/default/src/components/HelloWorld.vue
template/code/router/src/components/HelloWorld.vue
template/code/router/src/components/WelcomeItem.vue
template/code/typescript-default/src/components/HelloWorld.vue
template/code/typescript-default/src/components/WelcomeItem.vue
template/code/typescript-router/src/components/HelloWorld.vue
template/code/typescript-router/src/components/WelcomeItem.vue

index 0a0988bcb91e4e3d0a442215f11ca79579d6b63e..5fb372c9c9e8ad63c632a14fb0323627dbdf6bb1 100644 (file)
@@ -22,6 +22,7 @@ defineProps({
 h1 {
   font-weight: 500;
   font-size: 2.6rem;
+  position: relative;
   top: -10px;
 }
 
index 0a0988bcb91e4e3d0a442215f11ca79579d6b63e..5fb372c9c9e8ad63c632a14fb0323627dbdf6bb1 100644 (file)
@@ -22,6 +22,7 @@ defineProps({
 h1 {
   font-weight: 500;
   font-size: 2.6rem;
+  position: relative;
   top: -10px;
 }
 
index a5eca70f81855b06fe4a9ba461f20fc4b9a049b7..ac366d0740bfa462d7e9f290137601a3f3139ecc 100644 (file)
@@ -16,6 +16,7 @@
 .item {
   margin-top: 2rem;
   display: flex;
+  position: relative;
 }
 
 .details {
index 8901544c3d4eaebd36a354589ca4c3c14f6fc4bc..e1a721cc197824cb478c9d803f3ca3eecbf43a5f 100644 (file)
@@ -19,6 +19,7 @@ defineProps<{
 h1 {
   font-weight: 500;
   font-size: 2.6rem;
+  position: relative;
   top: -10px;
 }
 
index ba0def33c0e523d8c82426d76d76c39b482b21e0..6d7086aea08fbb770b2f570dbeb4f8fcd86cb291 100644 (file)
@@ -16,6 +16,7 @@
 .item {
   margin-top: 2rem;
   display: flex;
+  position: relative;
 }
 
 .details {
index 23afedd71de75634788695c1a30be605a3651f8a..38d821ef87b646f47e10add2091589290b270f49 100644 (file)
@@ -19,6 +19,7 @@ defineProps<{
 h1 {
   font-weight: 500;
   font-size: 2.6rem;
+  position: relative;
   top: -10px;
 }
 
index ba0def33c0e523d8c82426d76d76c39b482b21e0..6d7086aea08fbb770b2f570dbeb4f8fcd86cb291 100644 (file)
@@ -16,6 +16,7 @@
 .item {
   margin-top: 2rem;
   display: flex;
+  position: relative;
 }
 
 .details {