Skip to content

Commit

Permalink
fix: spacing
Browse files Browse the repository at this point in the history
  • Loading branch information
krantheman committed May 23, 2024
1 parent a6c9155 commit 65a0c2a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions roster/src/components/MonthViewTable.vue
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<thead>
<tr>
<!-- Employee Search -->
<th>
<th class="p-2">
<Autocomplete
:options="employeeSearchOptions"
v-model="employeeSearch"
Expand All @@ -28,7 +28,7 @@
<!-- Employee Column -->
<td
v-if="!employeeSearch?.value || employeeSearch?.value === employee?.name"
class="border-t"
class="border-t px-2 py-3"
>
<div class="flex">
<Avatar
Expand All @@ -52,7 +52,7 @@
v-if="!employeeSearch?.value || employeeSearch?.value === employee?.name"
v-for="(day, idx) in daysOfMonth"
:key="idx"
class="border-t"
class="border-t p-1.5"
:class="{
'border-l': idx,
'align-top': events.data?.[employee.name]?.[day.date],
Expand Down Expand Up @@ -313,7 +313,7 @@ const events = createResource({
<style>
th,
td {
@apply max-w-32 min-w-32 p-1.5;
@apply max-w-32 min-w-32;
font-size: 0.875rem;
}
Expand Down
2 changes: 1 addition & 1 deletion roster/src/pages/Home.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<template>
<div class="bg-gray-50 h-screen">
<div class="bg-gray-50 min-h-screen">
<NavBar />
<MonthView />
</div>
Expand Down

0 comments on commit 65a0c2a

Please sign in to comment.