Skip to content

Commit

Permalink
Merge pull request #81 from danheron/fix/timeline-localization
Browse files Browse the repository at this point in the history
Fixed timeline position in all localizations
  • Loading branch information
danheron authored Jan 12, 2024
2 parents 4e12c34 + 5b7821c commit ced0512
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Heron.MudCalendar/Base/DayWeekViewBase.razor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -110,8 +110,7 @@ protected virtual string TimelineStyle()
.AddStyle("position", "absolute")
.AddStyle("width", "100%")
.AddStyle("border", "1px solid var(--mud-palette-grey-default)")
//.AddStyle("top", $"{(int)((DateTime.Now.Subtract(DateTime.Today).TotalMinutes / MinutesInDay) * PixelsInDay)}px")
.AddStyle("top", $"{TimelinePosition()}px")
.AddStyle("top", $"{TimelinePosition().ToInvariantString()}px")
.Build();
}

Expand Down

0 comments on commit ced0512

Please sign in to comment.