Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Message triangles look weird if the GUI scale is less than 100% #9

Closed
ghost opened this issue Jun 17, 2018 · 5 comments
Closed

Message triangles look weird if the GUI scale is less than 100% #9

ghost opened this issue Jun 17, 2018 · 5 comments

Comments

@ghost
Copy link

ghost commented Jun 17, 2018

image

The little triangles between the message box and user avatar don't render correctly if the GUI scale is lower than 100%. I was going to just disable them but I can't find the CSS that creates them so I can't figure out what the CSS I need to use to get rid of them is.

@CapnKitten
Copy link
Owner

The code you're looking for is:
.message-group .comment .message.first:before

@ghost
Copy link
Author

ghost commented Jun 17, 2018

That worked, thank you very much. One last thing, after setting the above to display:none;, the upper left corner of the message boxes are not rounded like the other corners. How would I turn that on?

@CapnKitten
Copy link
Owner

Find this, and delete the border-top-left-radius
.message-group .comment { padding: 12px 8px; background: var(--message-color); border-top-left-radius: 0 !important; transition: 200ms ease all !important; }

@ghost
Copy link
Author

ghost commented Jun 17, 2018

Ah, thanks, I actually found it on my own just as you posted that. I just put this in the custom stylesheet so I wouldn't have to edit the theme's files.

.message-group .comment .message.first:before {
    display:none;
}
.message-group .comment {
    border-top-left-radius: var(--border-radius) !important;
}

@CapnKitten
Copy link
Owner

Awesome, glad I could help.

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

No branches or pull requests

1 participant