Skip to content

Commit fbb14d6

Browse files
committed
Added comment ↞ [auto-sync from https://github.com/adamlui/youtube-classic]
1 parent 3e7555c commit fbb14d6

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

youtube-classic/youtube-classic.user.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// ==UserScript==
22
// @name YouTube™ Classic 📺 — (Remove rounded design + Return YouTube dislikes)
3-
// @version 2026.1.27.7
3+
// @version 2026.1.27.8
44
// @author Adam Lui, Magma_Craft, Fuim & hoothin
55
// @namespace https://github.com/adamlui
66
// @description Reverts YouTube to its classic design (before all the rounded corners & hidden dislikes) + redirects YouTube Shorts
@@ -1086,7 +1086,7 @@
10861086
bellWidth = parseInt(getComputedStyle(bellIcon).width),
10871087
primaryWidth = parseInt(getComputedStyle(primaryDiv).width),
10881088
idealActionsRpadding = primaryWidth < 768 ? '' : `${ 125 +( bellWidth == 100 ? 0 : bellWidth )}px`
1089-
Object.assign(subBtn.style,
1089+
Object.assign(subBtn.style, // right-align if primary div wide enough
10901090
primaryWidth > 768 ? { position: 'absolute', right: 0 } : { position: '', right: '' })
10911091
if (getComputedStyle(actionsDiv).paddingRight != idealActionsRpadding)
10921092
actionsDiv.style.paddingRight = idealActionsRpadding

0 commit comments

Comments
 (0)