Skip to content

Commit

Permalink
Tweak column sizes for the file list
Browse files Browse the repository at this point in the history
  • Loading branch information
insolor committed Jul 27, 2024
1 parent 80d5a0a commit 7b7234d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions package_build/file_list.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@ def show_file_list(root_dir: Path, glob_filter: str) -> None:
st.write(_("No package files available."))
return

column1, column2, column3 = st.columns([3, 2, 1], vertical_alignment="center")
column1, column2, column3 = st.columns([4, 3, 2], vertical_alignment="center")
column1.write("**{}**".format(_("Package name")))
column2.write("**{}**".format(_("When created")))

for package_path in sorted(file_list):
column1, column2, column3 = st.columns([3, 2, 1], vertical_alignment="center")
column1, column2, column3 = st.columns([4, 3, 2], vertical_alignment="center")
column1.write(package_path.relative_to(root_dir).name)
hours_ago = (datetime.now(tz=timezone.utc) - get_file_modification_datetime(package_path)).seconds // 3600
if hours_ago == 0:
Expand Down

0 comments on commit 7b7234d

Please sign in to comment.