Skip to content

Presentation for inline link#1799

Merged
ara4n merged 2 commits intoelement-hq:developfrom
ribot:feature-inline-link-preview
Jul 15, 2016
Merged

Presentation for inline link#1799
ara4n merged 2 commits intoelement-hq:developfrom
ribot:feature-inline-link-preview

Conversation

@stefanpearson
Copy link
Copy Markdown

Fixed #1751, PR to matrix-react-sdk to follow

Signed-off-by: Stefan Pearson stefan@ribot.co.uk

@matrixbot
Copy link
Copy Markdown

Can one of the admins verify this patch?

display: block;
overflow-y: hidden;
overflow-x: hidden;
/*overflow-y: hidden;
Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This may become an issue, but it's the only way to hang elements out of the container.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This was certainly an issue in the past, however, is it possible that overflow-x: visible is the right fix? (Bug #1154 was ugly scrollbar caused by overflow-x defaulting to scroll). We have to keep the overflow-y: hidden (unless you want to hang elements above/below the container for some reason?) in order to trap Zalgos, which are an amusingly common phenomenon in Matrix thanks to the early geeky audience. For instance, right now in #matrix-dev, this is the only thing stopping the top of SkaveRat's nick splurging all over Ralith:

screen shot 2016-07-15 at 11 06 52

.mx_EventTile_content {
display: block;
overflow-y: hidden;
overflow-x: hidden;
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

don't we want overflow: visible; rather than the default auto here to avoid a repeat performance of #1154?

@ara4n
Copy link
Copy Markdown
Member

ara4n commented Jul 15, 2016

lgtm other than final question. i'll then merge it and unravel the mess with relying on markdown-body to de-zalgo HTML

@ara4n
Copy link
Copy Markdown
Member

ara4n commented Jul 15, 2016

going to merge this anyway and worry about the potential #1154 regression so I can fix the markdown-body mess

@ara4n ara4n merged commit 6607bee into element-hq:develop Jul 15, 2016
t3chguy pushed a commit that referenced this pull request Mar 25, 2026
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.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.

3 participants