Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

core: frontend: hook vue-tour to a centered div #909

Merged
merged 1 commit into from
Mar 24, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 9 additions & 2 deletions core/frontend/src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,7 @@
name="welcomeTour"
:steps="steps"
/>
<div id="tour-center-hook" />
</v-app>
</template>

Expand Down Expand Up @@ -215,15 +216,15 @@ export default Vue.extend({
steps() {
return [
{
target: '#welcome-card',
target: '#tour-center-hook',
header: {
title: 'Welcome to BlueOS!',
},
content: `We are happy to have you using this brand new companion system, and there are some tips we want to
give you!`,
},
{
target: '#welcome-card',
target: '#tour-center-hook',
content: `As stated on our welcome card, one of the first things you should do on you first usage of BlueOS
is to connect it to the internet.`,
},
Expand Down Expand Up @@ -349,4 +350,10 @@ span.build_info {
display: block;
}

#tour-center-hook {
position: absolute;
top: 20%;
left: 50%;
}

</style>