Skip to content

[BUG] generic "page" class to the body tag, inside the module pages of "my account" #846

@Maofree

Description

@Maofree

Prerequisites

Describe the bug and add attachments

Hi

try to go inside
https://mysite/module/ps_emailalerts/account
or
https://mysite/module/psgdpr/gdpr

then look at the bottom, you will see a padding-bottom of 2rem due from the "page" class into the body tag
this happens only for module pages, because they have into the body classes like these "page-history" or "page-addresses"

Image Image

Expected behavior

set a class in the body tag like "page-module" or remove "page"

Steps to reproduce

  1. go into your front account page, do the login
  2. go into a module page like "gdpr" or "module/ps_emailalerts/account" or "module/blockwishlist/lists"
  3. scroll down and you will see a blank section due from a padding-bottom of "page" body class

bye

PrestaShop version(s) where the bug happened

2.0.0

PHP version(s) where the bug happened

8.1

Your company or customer's name goes here (if applicable).

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions