Skip to content

Commit a263d8a

Browse files
authored
fix: relative position in h1 and WelcomeItem (vuejs#278)
1 parent cae86f1 commit a263d8a

File tree

7 files changed

+7
-0
lines changed

7 files changed

+7
-0
lines changed

template/code/default/src/components/HelloWorld.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ defineProps({
2222
h1 {
2323
font-weight: 500;
2424
font-size: 2.6rem;
25+
position: relative;
2526
top: -10px;
2627
}
2728

template/code/router/src/components/HelloWorld.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ defineProps({
2222
h1 {
2323
font-weight: 500;
2424
font-size: 2.6rem;
25+
position: relative;
2526
top: -10px;
2627
}
2728

template/code/router/src/components/WelcomeItem.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
.item {
1717
margin-top: 2rem;
1818
display: flex;
19+
position: relative;
1920
}
2021
2122
.details {

template/code/typescript-default/src/components/HelloWorld.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ defineProps<{
1919
h1 {
2020
font-weight: 500;
2121
font-size: 2.6rem;
22+
position: relative;
2223
top: -10px;
2324
}
2425

template/code/typescript-default/src/components/WelcomeItem.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
.item {
1717
margin-top: 2rem;
1818
display: flex;
19+
position: relative;
1920
}
2021
2122
.details {

template/code/typescript-router/src/components/HelloWorld.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ defineProps<{
1919
h1 {
2020
font-weight: 500;
2121
font-size: 2.6rem;
22+
position: relative;
2223
top: -10px;
2324
}
2425

template/code/typescript-router/src/components/WelcomeItem.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
.item {
1717
margin-top: 2rem;
1818
display: flex;
19+
position: relative;
1920
}
2021
2122
.details {

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy