Use AccessibleButton for 'In reply to' link button on ReplyChain (#8726)

- Remove ButtonResetDefault mixin to respect the concept of cascading

Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
This commit is contained in:
Suguru Hirahara 2022-05-31 21:52:12 +00:00 committed by GitHub
parent b776cc8c1f
commit b12a272385
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 15 additions and 12 deletions

View file

@ -15,20 +15,19 @@ limitations under the License.
*/
.mx_ReplyChain {
margin-top: 0;
margin-left: 0;
margin-right: 0;
margin-bottom: 8px;
padding: 0 10px;
margin: 0 0 $spacing-8 0;
padding: 0 10px; // TODO: Use a spacing variable
border-left: 2px solid $accent;
border-radius: 2px;
.mx_ReplyChain_show {
@mixin ButtonResetDefault;
color: inherit;
&.mx_AccessibleButton_kind_link_inline {
padding: 0;
color: unset;
&:hover {
color: $links;
&:hover {
color: $links;
}
}
}