Skip to content

Commit

Permalink
Tweak alignment
Browse files Browse the repository at this point in the history
  • Loading branch information
harry48225 committed Jan 3, 2024
1 parent d0cbe35 commit d131278
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions vue/src/components/IngredientComponent.vue
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
</template>

<template v-else>
<td class="d-print-none" v-if="detailed" @click="done">
<td class="d-print-none align-baseline py-2" v-if="detailed" @click="done">
<i class="far fa-check-circle text-success" v-if="ingredient.checked"></i>
<i class="far fa-check-circle text-primary" v-if="!ingredient.checked"></i>
</td>
Expand Down Expand Up @@ -40,9 +40,9 @@
</template>
</template>
</td>
<td v-if="detailed">
<td v-if="detailed" class="align-baseline">
<template v-if="ingredient.note">
<span v-b-popover.hover="ingredient.note" class="d-print-none touchable py-0 px-2">
<span class="d-print-none touchable py-0 px-2" v-b-popover.hover="ingredient.note">
<i class="far fa-comment"></i>
</span>

Expand Down Expand Up @@ -106,8 +106,8 @@ export default {
<style scoped>
/* increase size of hover/touchable space without changing spacing */
.touchable {
--target-increase: 1em;
display: flex;
--target-increase: 2em;
display: inline-flex;
}
.touchable::after {
Expand Down

0 comments on commit d131278

Please sign in to comment.