Skip to content

TAN-7709-a11y/fix-confusing-spacing-css-disabled#13799

Merged
amirabayoumi merged 1 commit into
masterfrom
TAN-7709-a11y/fix-confusing-spacing-css-disabled
May 13, 2026
Merged

TAN-7709-a11y/fix-confusing-spacing-css-disabled#13799
amirabayoumi merged 1 commit into
masterfrom
TAN-7709-a11y/fix-confusing-spacing-css-disabled

Conversation

@amirabayoumi
Copy link
Copy Markdown
Contributor

@amirabayoumi amirabayoumi commented May 6, 2026

conditionally render gradient overlay to prevent empty space when CSS disabled
Previously, the gradient overlay useddisplay="none"which still rendered the image element in the DOM. When CSS was disabled, this created unwanted empty space
Now the gradient only renders when hideTextOverflow is true and completely removing it from the DOM when not needed.

Changelog

  • conditionally render gradient overlay to prevent empty space when CSS disabled

For translators

@notion-workspace
Copy link
Copy Markdown

@amirabayoumi amirabayoumi changed the title conditionally render gradient overlay to prevent empty space when CS… TAN-7709-a11y/fix-confusing-spacing-css-disabled May 6, 2026
@amirabayoumi amirabayoumi requested a review from EdwinKato May 6, 2026 14:18
@EdwinKato
Copy link
Copy Markdown
Contributor

Been swamped, hadn't gotten to this yet. Okay if I review this on Wednesday morning? I'm off tomorrow. if urgent, I can review retrospectively after merge

@amirabayoumi
Copy link
Copy Markdown
Contributor Author

@EdwinKato It is totally fine on Wednesday, take your time

@amirabayoumi amirabayoumi merged commit 646f6a7 into master May 13, 2026
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants