diplodoc-platform / diplodoc-platform/transform

Term is rendered partially hidden in containers with overflow=hidden/scroll

Open
#723 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
69
Forks
59
Avg merge
1d 21h
Merged PRs (30d)
6

Description

### What is the problem this feature will solve?

In some cases, when YFM is rendered in container with size not much larger than YFM-block itself, opening term can cause the scroll appearance or it can be rendered almost hidden behind the parent block border

Image

### What is the feature you are proposing to solve the problem?

Add opportunity to render term definition element inside body element, so that it can be fully visible

### What alternatives have you considered?

Hacks from https://github.com/w3c/csswg-drafts/issues/4092, but they don't work in some cases

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.