[MM-57521] Profile button on hover shouldn't be red (#27005)

* Remove profile__icon onHover style in status__dropdown.scss

* Remove profile__icon class in status__dropdown.tsx for AccountOutlineIcon

* Update status_dropdown snapshot test

* Remove trailing space in status_dropdown snapshot test for AccountOutlineIcon

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
This commit is contained in:
kalil0321 2024-07-31 22:48:17 +02:00 committed by GitHub
parent 295c8c277b
commit 499977d0f0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 0 additions and 16 deletions

View File

@ -215,7 +215,6 @@ exports[`components/StatusDropdown should match snapshot in default state 1`] =
}
icon={
<AccountOutlineIcon
className="profile__icon"
color="rgba(var(--center-channel-color-rgb), 0.56)"
size={16}
/>
@ -532,7 +531,6 @@ exports[`components/StatusDropdown should match snapshot with custom status and
}
icon={
<AccountOutlineIcon
className="profile__icon"
color="rgba(var(--center-channel-color-rgb), 0.56)"
size={16}
/>
@ -812,7 +810,6 @@ exports[`components/StatusDropdown should match snapshot with custom status enab
}
icon={
<AccountOutlineIcon
className="profile__icon"
color="rgba(var(--center-channel-color-rgb), 0.56)"
size={16}
/>
@ -1092,7 +1089,6 @@ exports[`components/StatusDropdown should match snapshot with custom status expi
}
icon={
<AccountOutlineIcon
className="profile__icon"
color="rgba(var(--center-channel-color-rgb), 0.56)"
size={16}
/>
@ -1373,7 +1369,6 @@ exports[`components/StatusDropdown should match snapshot with custom status puls
}
icon={
<AccountOutlineIcon
className="profile__icon"
color="rgba(var(--center-channel-color-rgb), 0.56)"
size={16}
/>
@ -1629,7 +1624,6 @@ exports[`components/StatusDropdown should match snapshot with profile picture UR
}
icon={
<AccountOutlineIcon
className="profile__icon"
color="rgba(var(--center-channel-color-rgb), 0.56)"
size={16}
/>
@ -1877,7 +1871,6 @@ exports[`components/StatusDropdown should match snapshot with status dropdown op
}
icon={
<AccountOutlineIcon
className="profile__icon"
color="rgba(var(--center-channel-color-rgb), 0.56)"
size={16}
/>
@ -2157,7 +2150,6 @@ exports[`components/StatusDropdown should not show clear status button when cust
}
icon={
<AccountOutlineIcon
className="profile__icon"
color="rgba(var(--center-channel-color-rgb), 0.56)"
size={16}
/>
@ -2474,7 +2466,6 @@ exports[`components/StatusDropdown should show clear status button when custom s
}
icon={
<AccountOutlineIcon
className="profile__icon"
color="rgba(var(--center-channel-color-rgb), 0.56)"
size={16}
/>

View File

@ -1,9 +1,3 @@
.profile__icon {
&:hover {
fill: rgba(255, 0, 0, 0.75);
}
}
.logout__icon {
&:hover {
fill: rgba(255, 0, 0, 0.75);

View File

@ -662,7 +662,6 @@ export class StatusDropdown extends React.PureComponent<Props, State> {
<AccountOutlineIcon
size={16}
color={'rgba(var(--center-channel-color-rgb), 0.56)'}
className={'profile__icon'}
/>
}
>