diff --git a/src/hide.less b/src/hide.less index 9becef0..9d0b0f7 100644 --- a/src/hide.less +++ b/src/hide.less @@ -85,8 +85,12 @@ h2[class^="privateChannelsHeaderContainer"], // direct messages label // #private-channels-0, #private-channels-1, #private-channels-2, // to check // Text area -div[class^="channelTextArea-"] div div > div // only attach and emoji at text area -button:not([class^="emojiButton"]):not([class^="attachButton-"]), +div[class^="channelTextArea-"] div div > div[class^="buttons-"] + > button, // gift button, f you + +div[class^="channelTextArea-"] div div > div[class^="buttons-"] // block all except emoji (and send button, if exists) + > div.expression-picker-chat-input-button:not(:nth-child(4)), + div[class^="channelTextArea-"] > div[class^="scrollableContainer-"] // divider breaks redesigned text area div[class^="divider-"], diff --git a/src/profile.less b/src/profile.less index 541022d..29bab27 100644 --- a/src/profile.less +++ b/src/profile.less @@ -3,7 +3,6 @@ * Zlib License */ - div[class^="accountProfileCard-"] div[class^="userInfo-"] { // settings justify-content: left; diff --git a/src/settings.less b/src/settings.less index 4bdb953..db5cdf4 100644 --- a/src/settings.less +++ b/src/settings.less @@ -105,6 +105,20 @@ div[class^="baseLayout-"] { } } +#accessibility-tab div div[class^="children-"] { + & > div { + &:nth-child(2), + &:nth-child(3), + &:nth-child(6), + &:nth-child(7) + { display: none; } + + &:nth-child(4) { + margin-top: @div-width * 2; + } + } +} + #notifications-tab div[class^="children"] { div:nth-child(6) { display: none; } diff --git a/src/style.less b/src/style.less index f7afcdf..60e0084 100644 --- a/src/style.less +++ b/src/style.less @@ -184,8 +184,9 @@ div[class^="channelTextArea-"] { div[class^="buttons-"] { height: auto; // to match input height - flex-direction: column; // to allow buttons center - justify-content: center; // and center it + & > * { + align-items: center; // center buttons + } .left-border(); } }