Fixing padding change to padding bottom and updating unit test to reflect

This commit is contained in:
Max 2022-02-28 10:46:41 -05:00
parent 68ccfcbb15
commit cec09ad185
2 changed files with 3 additions and 3 deletions

View file

@ -188,7 +188,7 @@ describe("list-card.vue", () => {
// Assert
const label = wrapper.find("label");
expect(label.classes()).toEqual(["d-flex", "w-100", "align-items-center", "px-2", "h-100", "flex-column", "pt-4", "pb-2"]);
expect(label.classes()).toEqual(["d-flex", "w-100", "align-items-center", "px-2", "h-100", "flex-column", "pt-4", "pb-3"]);
});
it("Should emit button value on click", async () => {

View file

@ -17,7 +17,7 @@
/>
<label
:for="buttonID"
class="d-flex w-100 align-items-center px-3 h-100"
class="d-flex w-100 align-items-center px-2 h-100"
:class="getLabelClasses" tabindex="-1"
>
<img
@ -92,7 +92,7 @@ export default {
}
return classes;
} else {
return "flex-column pt-4 pb-2";
return "flex-column pt-4 pb-3";
}
},
},