Merge pull request #76 from Safelite/feature/CSR-121_header-tag-update

Changing header from span to h2 tag
This commit is contained in:
max-dempsey 2021-12-03 14:33:44 -05:00 committed by GitHub
commit b821f2b8ef
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -11,6 +11,6 @@ describe("Header.vue", () => {
});
// Assert
expect(wrapper.find("span").text()).toContain("Header Content");
expect(wrapper.find("h2").text()).toContain("Header Content");
});
});

View file

@ -1,7 +1,7 @@
<template>
<div class="current_car_info-text">
<div class="d-flex align-items-center justify-content-center">
<span class="text-center text-dark fs-5 d-block">{{ text }}</span>
<h2 class="text-center text-dark fs-5 d-block fw-normal mb-0">{{ text }}</h2>
</div>
</div>
</template>