Skip to content

Commit

Permalink
add padding to planting timeline rows
Browse files Browse the repository at this point in the history
  • Loading branch information
ccatherinetan committed Jan 16, 2025
1 parent e321aa2 commit 23a863e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion components/PlantCalendarList/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ export const PlantCalendarList = ({
<Styles.StyledTable>
{/* set widths of each columns*/}
<colgroup>
<col style={{ width: '72px' }} />
<col style={{ maxWidth: 'min-content' }} />
<col style={{ minWidth: '400px' }} />
</colgroup>
<thead>
Expand Down
1 change: 1 addition & 0 deletions components/PlantCalendarList/styles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ export const StickyTd = styled(P3).attrs({
left: 0;
background-color: white; // Optional: Adds a background color to keep text visible when scrolling
z-index: 1; // Ensures the sticky header is on top of other content
padding-right: 8px;
`;

// Scrollable container for PlantCalendarRow
Expand Down

0 comments on commit 23a863e

Please sign in to comment.