From 228b8b9187b7927308efaf1c20d55a800040dab4 Mon Sep 17 00:00:00 2001 From: sy-b <94835959+sy-b@users.noreply.github.com> Date: Wed, 29 Jun 2022 08:03:15 +0530 Subject: [PATCH] Decrease rate bar size Signed-off-by: sy-b <94835959+sy-b@users.noreply.github.com> --- Extensions/combined/src/starRating.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Extensions/combined/src/starRating.js b/Extensions/combined/src/starRating.js index fbeac2a..5d98814 100644 --- a/Extensions/combined/src/starRating.js +++ b/Extensions/combined/src/starRating.js @@ -24,7 +24,7 @@ function createStarRating(rating, isMobile) { try { let YTBar = document.querySelector('#ryd-bar-container'); - YTBar.setAttribute("style", "width: 196%; height: 2px;"); + YTBar.setAttribute("style", "width: 190%; height: 2px;"); } catch(err) { cLog("RateBar Not Present"); @@ -98,4 +98,4 @@ document.head.insertAdjacentHTML("beforeend", style); } - export { createStarRating }; \ No newline at end of file + export { createStarRating };