Skip to content

Commit

Permalink
Integrate MR feedbacks #2 - remove margin on top of title
Browse files Browse the repository at this point in the history
  • Loading branch information
ManuBernard committed Jul 26, 2022
1 parent 1d70db3 commit 40dab16
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions src/components/TimelineOnboarding.vue
Original file line number Diff line number Diff line change
Expand Up @@ -32,14 +32,16 @@ const checkListCompleted = computed(() => {
watch(checkListCompleted, completed => {
if (completed) {
setTimeout(() => {
hideOnboarding.value = true;
// hideOnboarding.value = true;
}, 2000);
}
});
function closeOnboarding() {
hideOnboarding.value = true;
}
hideOnboarding.value = false;
</script>

<template>
Expand All @@ -51,12 +53,12 @@ function closeOnboarding() {
<div class="p-4">
<div class="flex">
<div class="flex-grow">
<h3 class="text-bold">
<h3 class="text-bold mt-0">
{{ t('onboarding.title') }}
</h3>
<p>{{ t('onboarding.subtitle') }}</p>
</div>
<div class="mt-2">
<div>
<BaseButtonIcon @click="closeOnboarding">
<i-ho-x class="text-base" />
</BaseButtonIcon>
Expand Down

0 comments on commit 40dab16

Please sign in to comment.