Skip to content

Commit

Permalink
Fix accidentally renamed one-off custom class for license backgrounds
Browse files Browse the repository at this point in the history
  • Loading branch information
zackkrida committed Aug 12, 2024
1 parent e791d4c commit 0bd92d1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions frontend/src/components/VLicense/VLicense.vue
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<VIcon
v-for="name in iconNames"
:key="name"
:class="{ 'bged text-black': bgFilled }"
:class="{ 'license-bg text-black': bgFilled }"
view-box="0 0 30 30"
:name="`licenses/${name}`"
:size="4"
Expand Down Expand Up @@ -80,7 +80,7 @@ export default defineComponent({
</script>

<style scoped>
.bged {
.license-bg {
background-image: radial-gradient(circle, #ffffff 60%, transparent 60%);
}
</style>
2 changes: 1 addition & 1 deletion frontend/test/unit/specs/components/v-license.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ describe("VLicense", () => {
const licenseIcons = container.querySelectorAll("v-icon-stub")
expect(licenseIcons).toHaveLength(2)
licenseIcons.forEach((icon) => {
expect(icon).toHaveClass("bged", "text-black")
expect(icon).toHaveClass("license-bg", "text-black")
})
})
})

0 comments on commit 0bd92d1

Please sign in to comment.