Skip to content
This repository has been archived by the owner on Oct 16, 2024. It is now read-only.

Commit

Permalink
Moving download size to container
Browse files Browse the repository at this point in the history
  • Loading branch information
boggydigital committed Oct 13, 2024
1 parent fb80078 commit d21dcbd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion rest/compton_pages/downloads.go
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,8 @@ func downloadLink(r compton.Registrar, dl vangogh_local_data.Download) compton.E
linkColumn.Append(linkTitle)

sizeRow := flex_items.FlexItems(r, direction.Row).
ColumnGap(size.XSmall)
ColumnGap(size.XSmall).
FontSize(size.Small)
sizeTitle := fspan.Text(r, "Size:").ForegroundColor(color.Gray)
sizeSpan := fspan.Text(r, fmtBytes(dl.EstimatedBytes))
sizeRow.Append(sizeTitle, sizeSpan)
Expand Down

0 comments on commit d21dcbd

Please sign in to comment.