Not a bug UNFURL module itself cannot be centered.

ShikiSuen

Well-known member
Affected version
2.2.6
For example:

The text inside the module gets unexpectedly centered (which looks terrible); the module itself is not centered (which is what this bug is).
 
I found one way to patch this:
Less:
.bbCodeBlock--unfurl {
    display: inline-flex;
    .contentRow-main {text-align: left;}
}

In case that the content-centered feature is expected, remove .contentRow-main {text-align: left;} from the code block above.
 
Last edited:
After some thought I don't think we'll be making any changes here.

The default settings are acceptable and the behaviour is consistent with other block elements, such as quotes. It is less noticeable with quotes because they are full width but if they weren't, they would also remain left aligned with the text centered.

I think this is a case for just adjusting your style how you see fit.
 
Top Bottom