Skip to content

fix(ui): move blocked images notice out of the message body - #13463

Open
CreatorOfBiontium wants to merge 1 commit into
nextcloud:mainfrom
CreatorOfBiontium:fix/blocked-images-warning-section
Open

fix(ui): move blocked images notice out of the message body#13463
CreatorOfBiontium wants to merge 1 commit into
nextcloud:mainfrom
CreatorOfBiontium:fix/blocked-images-warning-section

Conversation

@CreatorOfBiontium

Copy link
Copy Markdown
Contributor

Fixes #12075

Fixed the barely readable "The images have been blocked to protect your privacy." section.
The notice was inside the message's white body, where --color-text-maxcontrast was barely readable. Now we render it as its own section above the body, like the phishing warning, so it reads on the app background.

Before After
image image

🤖 AI (if applicable)

  • The content of this PR was partly or fully generated using AI

The notice was inside the message's white body, where --color-text-maxcontrast is barely readable. Render it as its own section above the body, like the phishing warning, so it reads on the app background.

Extract it into BlockedContentWarning and drop the :deep button overrides it needed, which also leaked onto the translate and read receipt buttons.

AI-assisted: Claude Code (Claude Opus 5)
Signed-off-by: Tobiáš Vašťák <tobias.vastak@gmail.com>
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.

✨ Enhance "The images have been blocked to protect your privacy."

2 participants