Skip to content

Commit

Permalink
Fix cropped event dots when date is a small number
Browse files Browse the repository at this point in the history
  • Loading branch information
pakerwreah committed Apr 7, 2022
1 parent f698302 commit 917962b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Calendr/Calendar/CalendarCellView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ class CalendarCellView: NSView {
eventsStackView.top(equalTo: eventsContainer)
eventsStackView.bottom(equalTo: eventsContainer)
eventsStackView.center(in: eventsContainer, orientation: .horizontal)
eventsStackView.widthAnchor.constraint(lessThanOrEqualTo: eventsContainer.widthAnchor).activate()

let contentStackView = NSStackView(views: [label, eventsContainer])
.with(orientation: .vertical)
Expand Down

0 comments on commit 917962b

Please sign in to comment.