Skip to content
This repository was archived by the owner on Aug 5, 2020. It is now read-only.
This repository was archived by the owner on Aug 5, 2020. It is now read-only.

Look into adding CSS fix for pinny content not being scrollable #91

@donnielrt

Description

@donnielrt

We've had a few issues with pinny content not being scrollable. The fix according to @vmarta has been to add the following CSS:

// Force scrollable
// -
//
// Forces the pinny content to be scrollable at all times. This works around
// an issue where scrollpanes within a pinny will not be scrollable if the
// content does not overflow the pinny wrapper.
//
// 1. Space that forces the pinny content to scroll.
// 2. Force the space below the bottom of the visble area.

.c-pinny.c—force-scroll .c-pinny__content {
&::after {
content: ’’;

position: absolute; bottom: -20px; // 2 left: 0; width: 100%; height: 20px; // 1 pointer-events: none; }
}

We need to look into adding this into the default CSS.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions