mirror of
https://github.com/Alvin-Zilverstand/return-youtube-dislike.git
synced 2026-11-23 06:43:02 +01:00
New layout fix - bar.
This commit is contained in:
1 parent
2d9809ad31
commit
6be44d9eb9
1 file changed
+3
-3
@@ -1,4 +1,4 @@
|
||||
import { getButtons } from "./buttons";
|
||||
import { getButtons, getDislikeButton, getLikeButton } from './buttons';
|
||||
import {
|
||||
extConfig,
|
||||
isMobile,
|
||||
@@ -13,8 +13,8 @@ function createRateBar(likes, dislikes) {
|
||||
let rateBar = document.getElementById("ryd-bar-container");
|
||||
|
||||
const widthPx =
|
||||
getButtons().children[0].clientWidth +
|
||||
getButtons().children[1].clientWidth +
|
||||
getLikeButton().clientWidth +
|
||||
getDislikeButton().clientWidth +
|
||||
8;
|
||||
|
||||
const widthPercent =
|
||||
|
||||
Reference in new issue
Block a user