DiscordStyles / Fluent

Brings the look of Windows 11 to Discord.
MIT License
271 stars 45 forks source link

Fix Reply Message for Self Messages #65

Closed Tnings closed 2 years ago

Tnings commented 2 years ago

I made the bar next to the reply message line up with the textbox

image
Gibbu commented 2 years ago

I would've merged this but you're adding too many rules. All you need to do was:

#app-mount .cozy-VmLDNB[data-is-author-self="true"] {
    // css...
    .repliedMessage-3Z6XBG {
        padding-right: 28px;
        &::before {
            left: unset;
            right: 2px;
            width: 18px;
            margin: 0;
            border-left: none;
            border-right: var(--spine-width) solid var(--interactive-muted);
            border-radius: 0 6px 0 0;
        }
    }
    // css...
}

Instead of adding 2 new blocks and not utilizing SCSS.