CSS selectors in flipbook library are too general

Created on 26 February 2024, 9 months ago

Problem/Motivation

CSS selectors style.css from flipbook library are too general. Library overrides p, h1, h2, h3 and others globally.

Steps to reproduce

Install module and add flipbook entity to your site via layout builder or paragraphs.
Global p-tag styles e.g. adds text-indent to all p-tags and global headline styles set font-sizes to all headlines on site.

Proposed resolution

Add wrapper-container with specific flipbook id or class to flipbook.html.twig and extend every unspecific css-selector in style.css by this class/id.

πŸ› Bug report
Status

Active

Version

10.0

Component

Code

Created by

πŸ‡©πŸ‡ͺGermany Duwid

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024