aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/content.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/content.ts')
-rw-r--r--src/content.ts7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/content.ts b/src/content.ts
index b4d16964..0391bd28 100644
--- a/src/content.ts
+++ b/src/content.ts
@@ -2649,7 +2649,12 @@ function showTimeWithoutSkips(skippedDuration: number): void {
duration = document.createElement('span');
duration.id = durationID;
- display.appendChild(duration);
+ if (isOnMobileYouTube()) {
+ duration.style.paddingLeft = "4px";
+ display.insertBefore(duration, display.lastChild);
+ } else {
+ display.appendChild(duration);
+ }
}
const durationAfterSkips = getFormattedTime(getVideoDuration() - skippedDuration);