Skip to content

Commit

Permalink
fix: incorrect width for task info sidebar
Browse files Browse the repository at this point in the history
  • Loading branch information
leg100 committed Jul 17, 2024
1 parent 5ffc73c commit dd6b918
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/tui/task/model.go
Original file line number Diff line number Diff line change
Expand Up @@ -219,8 +219,8 @@ const (
// viewport.
infoWidth = 40
// infoContentWidth is the width available to the content inside the task
// info sidebar, after subtracting 2 to account for margins, and 1 for border
infoContentWidth = infoWidth - 2 - 1
// info sidebar, after subtracting 1 to accomodate its border to the right
infoContentWidth = infoWidth - 1
)

// View renders the viewport
Expand Down

0 comments on commit dd6b918

Please sign in to comment.