Jump to content

[Fixed] I had a stylus script to have more youtube thumbnails in home page which broke today after 2 years of working, can any one help?

was using this 
 

ytd-rich-item-renderer {
width: calc(100% / 6 - 16px - 0.01px);
}

#avatar-link.ytd-rich-grid-video-renderer {
height: 25px;
}

#avatar.ytd-rich-grid-video-renderer {
width: 25px;
height: 25px;
}

ytd-video-meta-block[rich-meta] #channel-name.ytd-video-meta-block, ytd-video-meta-block[rich-meta] #metadata-line.ytd-video-meta-block{
font-size: 1.1rem;
}

#video-title.ytd-rich-grid-video-renderer{
font-size: 1.4rem;
}


Now this happens 

 

image.thumb.png.7f65f528c1f14728ef53c7af96cceb0f.png

script 2 also worked 

 

#page-manager.ytd-app {
       margin-top: var(--ytd-masthead-height, 40px);  
}
#contents.ytd-rich-grid-renderer{ 
--ytd-rich-grid-items-per-row: 6;
--ytd-rich-grid-posts-per-row: 6;
--ytd-rich-grid-movies-per-row: 4;
width: 85% !important;
    display: var(--layout-horizontal_-_display);
    -ms-flex-direction: var(--layout-horizontal_-_-ms-flex-direction);
    -webkit-flex-direction: var(--layout-horizontal_-_-webkit-flex-direction);
    flex-direction: var(--layout-horizontal_-_flex-direction);
    justify-content: flex-start;
}

ytd-rich-item-renderer 
{
    margin-right: 4px;
    margin-left: 4px;
    display: inline-block;
    margin-bottom: 24px;
}

#video-title.ytd-rich-grid-video-renderer{ 
    display: -webkit-box;
    max-height: 3.2rem;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
    -webkit-line-clamp: 2;
    font-size: 1.4rem;
    font-weight: 500;
    line-height: 1.6rem;
}
#title.ytd-rich-grid-renderer {
        color: var(--yt-spec-text-primary);
    display: block;
    max-height: 2rem;
    overflow: hidden;
    font-size: 1.6rem;
    font-weight: 500;
    line-height: 2rem;
    margin-left: 5%;
}


#title-container.ytd-rich-grid-renderer {
    color: var(--yt-spec-text-primary);
    height: 2rem;
    display: var(--layout-horizontal_-_display);
    -ms-flex-direction: var(--layout-horizontal_-_-ms-flex-direction);
    -webkit-flex-direction: var(--layout-horizontal_-_-webkit-flex-direction);
    flex-direction: var(--layout-horizontal_-_flex-direction);
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center;
}

#avatar-link{ display:none }

.ytd-video-meta-block { 
    color: var(--ytd-metadata-line-color, var(--yt-spec-text-secondary));
    max-width: 100%;
    display: block;
    max-height: 3.6rem;
    overflow: visible;
    font-size: 1.3rem;
    font-weight: 400;
    line-height: 1.8rem;
    text-transform: none;
    display: flex;
    -ms-flex-wrap: wrap;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
}


ytd-channel-name {
    font-size: 1.2rem !important;
}

ytd-app {
    --app-drawer-width: 240px;
    --app-drawer-content-container_-_background-color: var(--yt-main-app-background);
    background: var(--yt-main-app-background);
    display: block;
    left: 0;
    min-height: 100%;
    position: absolute;
    right: 0;
    top: 0;
}
ytd-browse {
    overflow: hidden;
    display: flex;
    -ms-flex-direction: column;
    -webkit-flex-direction: column;
    flex-direction: column;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center;
}

 

 

Spoiler
Spoiler

AMD 5000 Series Ryzen 7 5800X| MSI MAG X570 Tomahawk WiFi | G.SKILL Trident Z RGB 32GB (2 * 16GB) DDR4 3200MHz CL16-18-18-38 | Asus GeForce GTX 3080Ti STRIX | SAMSUNG 980 PRO 500GB PCIe NVMe Gen4 SSD M.2 + Samsung 970 EVO Plus 1TB PCIe NVMe M.2 (2280) Gen3 | Cooler Master V850 Gold V2 Modular | Corsair iCUE H115i RGB Pro XT | Cooler Master Box MB511 | ASUS TUF Gaming VG259Q Gaming Monitor 144Hz, 1ms, IPS, G-Sync | Logitech G 304 Lightspeed | Logitech G213 Gaming Keyboard |

PCPartPicker 

Link to comment
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×