Skip to content

Epic Games Store - Disable carousel by denilsonsa

Screenshot of Epic Games Store - Disable carousel

Details

Authordenilsonsa

LicensePublic Domain

Categoryepicgames

Created

Updated

Size1.1 kB

Statistics

Learn how we calculate statistics in the FAQ.

Failed to fetch stats.

Description

Disables the screenshot carousel, making it easier and quicker to view the game screenshots and videos.

Notes

Currently, it is only applied to games with more than 6 screenshots (because those would enable the carousel buttons).

Source code

/* ==UserStyle==
@name           Epic Games Store - Disable carousel
@namespace      github.com/openstyles/stylus
@version        1.0.0
@description    Disables the screenshot carousel, making it easier and quicker to view the game screenshots and videos.
@author         denilsonsa
==/UserStyle== */

@-moz-document domain("store.epicgames.com") {
    html div[data-testid="container"] div[data-testid="nav-button"] {
        display: none;
    }
    html div[data-testid="container"] div[data-testid="nav-button"] + div[data-testid="wrapper"] {
        max-width: none !important;
    }
    html div[data-testid="container"] div[data-testid="nav-button"] + div[data-testid="wrapper"] > ul {
        width: 100%;
        flex-wrap: wrap;
        justify-content: center;
        transform: none !important;
    }
    html div[data-testid="container"] div[data-testid="nav-button"] + div[data-testid="wrapper"] > ul > li {
        flex-basis: calc(25% - 2px);
        max-width: none !important;
    }
    html div[data-testid="container"] div[data-testid="nav-button"] + div[data-testid="wrapper"] > ul > li {
        margin: 1px;
    }
}

Reviews

No reviews yet.