Skip to content

Commit

Permalink
Minor HTML tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
ajuvonen committed Jul 1, 2024
1 parent a4a8148 commit 267c326
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/components/WeekCalendar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ const getDayChipTitle = (intensity: Intensity, count: number) =>
tag="ul"
class="d-flex flex-wrap mt-4 mb-1 justify-center"
>
<training-card
<TrainingCard
v-for="training in trainings"
:key="training.id"
:training="training"
Expand Down
2 changes: 1 addition & 1 deletion src/components/WeekCalendarActions.vue
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ const confirmDelete = (weekId: string) => {
};
</script>
<template>
<div class="week-calendar__actions d-flex mt-4" :class="{'flex-column': isSmallScreen}">
<div class="d-flex mt-4" :class="{'flex-column': isSmallScreen}">
<v-btn
:data-test-id="`week-${weekIndex}-add-training-button`"
prepend-icon="$plus"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html

exports[`WeekCalendarActions > mounts 1`] = `
"<div class="week-calendar__actions d-flex mt-4"><button type="button" class="v-btn v-theme--customLight v-btn--density-default v-btn--size-default v-btn--variant-text" data-test-id="week-0-add-training-button"><span class="v-btn__overlay"></span><span class="v-btn__underlay"></span><span class="v-btn__prepend"><i class="v-icon notranslate v-theme--customLight v-icon--size-default" aria-hidden="true"><svg class="v-icon__svg" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" role="img" aria-hidden="true"><path d="M19,13H13V19H11V13H5V11H11V5H13V11H19V13Z"></path></svg></i></span><span class="v-btn__content" data-no-activator="">Add training</span>
"<div class="d-flex mt-4"><button type="button" class="v-btn v-theme--customLight v-btn--density-default v-btn--size-default v-btn--variant-text" data-test-id="week-0-add-training-button"><span class="v-btn__overlay"></span><span class="v-btn__underlay"></span><span class="v-btn__prepend"><i class="v-icon notranslate v-theme--customLight v-icon--size-default" aria-hidden="true"><svg class="v-icon__svg" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" role="img" aria-hidden="true"><path d="M19,13H13V19H11V13H5V11H11V5H13V11H19V13Z"></path></svg></i></span><span class="v-btn__content" data-no-activator="">Add training</span>
<!---->
<!---->
</button><button type="button" class="v-btn v-theme--customLight v-btn--density-default v-btn--size-default v-btn--variant-text" aria-label="Copy Week 1" data-test-id="week-0-copy-button"><span class="v-btn__overlay"></span><span class="v-btn__underlay"></span><span class="v-btn__prepend"><i class="v-icon notranslate v-theme--customLight v-icon--size-default" aria-hidden="true"><svg class="v-icon__svg" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" role="img" aria-hidden="true"><path d="M19,21H8V7H19M19,5H8A2,2 0 0,0 6,7V21A2,2 0 0,0 8,23H19A2,2 0 0,0 21,21V7A2,2 0 0,0 19,5M16,1H4A2,2 0 0,0 2,3V17H4V3H16V1Z"></path></svg></i></span><span class="v-btn__content" data-no-activator="">Copy Week </span>
Expand Down

0 comments on commit 267c326

Please sign in to comment.