From c58ccea3dda2835bd6e2d4e54131c9dc1d48c49b Mon Sep 17 00:00:00 2001 From: Luca Rullo Date: Tue, 31 Oct 2023 19:49:38 +0100 Subject: [PATCH] Update: Random position width --- inc/src/app/app.component.html | 2 +- inc/src/app/app.component.ts | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/inc/src/app/app.component.html b/inc/src/app/app.component.html index 8af3350..0254352 100644 --- a/inc/src/app/app.component.html +++ b/inc/src/app/app.component.html @@ -36,7 +36,7 @@
-
+

Podcast {{n.title}}

diff --git a/inc/src/app/app.component.ts b/inc/src/app/app.component.ts index 33dcb4b..7e30f72 100644 --- a/inc/src/app/app.component.ts +++ b/inc/src/app/app.component.ts @@ -35,8 +35,8 @@ export class AppComponent implements OnInit { randomPosition():number { let seed = Math.random(); - let max=200 - let min=-200 + let max=40 + let min=-40 return Math.floor(Math.random() * (max - min + 1) + min) } }