Skip to content

Commit dd39c9f

Browse files
Merge branch 'main' into build-warnings-new-tab
2 parents faea261 + 02c2124 commit dd39c9f

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

completion.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ def get_completion(
5252
).completion
5353

5454
if completion:
55-
# Fetch commit from before 30 days ago and checkout
55+
# Get latest commit date and fetch commit from before 30 days ago and checkout
5656
try:
5757
latest_commit = clone_repo.head.commit.committed_datetime.strftime(
5858
'%Y/%m/%d %T'

template.html.jinja

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -59,10 +59,10 @@ main | <a href="metadata.html" target="_self">meta</a>
5959
<script>
6060
function updateProgressBarVisibility() {
6161
document.querySelectorAll('.progress-bar').forEach(progressBar => {
62-
const textWidth = progressBar.scrollWidth;
63-
const barWidth = progressBar.offsetWidth;
62+
const barWithOverflowWidth = progressBar.scrollWidth;
63+
const barWidth = progressBar.clientWidth;
6464
65-
if (barWidth < textWidth) {
65+
if (barWidth < barWithOverflowWidth) {
6666
progressBar.classList.add('low');
6767
} else {
6868
progressBar.classList.remove('low');

0 commit comments

Comments
 (0)