[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>
Этот коммит содержится в:
@@ -215,7 +215,6 @@ exports[`components/StatusDropdown should match snapshot in default state 1`] =
|
|||||||
}
|
}
|
||||||
icon={
|
icon={
|
||||||
<AccountOutlineIcon
|
<AccountOutlineIcon
|
||||||
className="profile__icon"
|
|
||||||
color="rgba(var(--center-channel-color-rgb), 0.56)"
|
color="rgba(var(--center-channel-color-rgb), 0.56)"
|
||||||
size={16}
|
size={16}
|
||||||
/>
|
/>
|
||||||
@@ -532,7 +531,6 @@ exports[`components/StatusDropdown should match snapshot with custom status and
|
|||||||
}
|
}
|
||||||
icon={
|
icon={
|
||||||
<AccountOutlineIcon
|
<AccountOutlineIcon
|
||||||
className="profile__icon"
|
|
||||||
color="rgba(var(--center-channel-color-rgb), 0.56)"
|
color="rgba(var(--center-channel-color-rgb), 0.56)"
|
||||||
size={16}
|
size={16}
|
||||||
/>
|
/>
|
||||||
@@ -812,7 +810,6 @@ exports[`components/StatusDropdown should match snapshot with custom status enab
|
|||||||
}
|
}
|
||||||
icon={
|
icon={
|
||||||
<AccountOutlineIcon
|
<AccountOutlineIcon
|
||||||
className="profile__icon"
|
|
||||||
color="rgba(var(--center-channel-color-rgb), 0.56)"
|
color="rgba(var(--center-channel-color-rgb), 0.56)"
|
||||||
size={16}
|
size={16}
|
||||||
/>
|
/>
|
||||||
@@ -1092,7 +1089,6 @@ exports[`components/StatusDropdown should match snapshot with custom status expi
|
|||||||
}
|
}
|
||||||
icon={
|
icon={
|
||||||
<AccountOutlineIcon
|
<AccountOutlineIcon
|
||||||
className="profile__icon"
|
|
||||||
color="rgba(var(--center-channel-color-rgb), 0.56)"
|
color="rgba(var(--center-channel-color-rgb), 0.56)"
|
||||||
size={16}
|
size={16}
|
||||||
/>
|
/>
|
||||||
@@ -1373,7 +1369,6 @@ exports[`components/StatusDropdown should match snapshot with custom status puls
|
|||||||
}
|
}
|
||||||
icon={
|
icon={
|
||||||
<AccountOutlineIcon
|
<AccountOutlineIcon
|
||||||
className="profile__icon"
|
|
||||||
color="rgba(var(--center-channel-color-rgb), 0.56)"
|
color="rgba(var(--center-channel-color-rgb), 0.56)"
|
||||||
size={16}
|
size={16}
|
||||||
/>
|
/>
|
||||||
@@ -1629,7 +1624,6 @@ exports[`components/StatusDropdown should match snapshot with profile picture UR
|
|||||||
}
|
}
|
||||||
icon={
|
icon={
|
||||||
<AccountOutlineIcon
|
<AccountOutlineIcon
|
||||||
className="profile__icon"
|
|
||||||
color="rgba(var(--center-channel-color-rgb), 0.56)"
|
color="rgba(var(--center-channel-color-rgb), 0.56)"
|
||||||
size={16}
|
size={16}
|
||||||
/>
|
/>
|
||||||
@@ -1877,7 +1871,6 @@ exports[`components/StatusDropdown should match snapshot with status dropdown op
|
|||||||
}
|
}
|
||||||
icon={
|
icon={
|
||||||
<AccountOutlineIcon
|
<AccountOutlineIcon
|
||||||
className="profile__icon"
|
|
||||||
color="rgba(var(--center-channel-color-rgb), 0.56)"
|
color="rgba(var(--center-channel-color-rgb), 0.56)"
|
||||||
size={16}
|
size={16}
|
||||||
/>
|
/>
|
||||||
@@ -2157,7 +2150,6 @@ exports[`components/StatusDropdown should not show clear status button when cust
|
|||||||
}
|
}
|
||||||
icon={
|
icon={
|
||||||
<AccountOutlineIcon
|
<AccountOutlineIcon
|
||||||
className="profile__icon"
|
|
||||||
color="rgba(var(--center-channel-color-rgb), 0.56)"
|
color="rgba(var(--center-channel-color-rgb), 0.56)"
|
||||||
size={16}
|
size={16}
|
||||||
/>
|
/>
|
||||||
@@ -2474,7 +2466,6 @@ exports[`components/StatusDropdown should show clear status button when custom s
|
|||||||
}
|
}
|
||||||
icon={
|
icon={
|
||||||
<AccountOutlineIcon
|
<AccountOutlineIcon
|
||||||
className="profile__icon"
|
|
||||||
color="rgba(var(--center-channel-color-rgb), 0.56)"
|
color="rgba(var(--center-channel-color-rgb), 0.56)"
|
||||||
size={16}
|
size={16}
|
||||||
/>
|
/>
|
||||||
|
|||||||
@@ -1,9 +1,3 @@
|
|||||||
.profile__icon {
|
|
||||||
&:hover {
|
|
||||||
fill: rgba(255, 0, 0, 0.75);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.logout__icon {
|
.logout__icon {
|
||||||
&:hover {
|
&:hover {
|
||||||
fill: rgba(255, 0, 0, 0.75);
|
fill: rgba(255, 0, 0, 0.75);
|
||||||
|
|||||||
@@ -662,7 +662,6 @@ export class StatusDropdown extends React.PureComponent<Props, State> {
|
|||||||
<AccountOutlineIcon
|
<AccountOutlineIcon
|
||||||
size={16}
|
size={16}
|
||||||
color={'rgba(var(--center-channel-color-rgb), 0.56)'}
|
color={'rgba(var(--center-channel-color-rgb), 0.56)'}
|
||||||
className={'profile__icon'}
|
|
||||||
/>
|
/>
|
||||||
}
|
}
|
||||||
>
|
>
|
||||||
|
|||||||
Ссылка в новой задаче
Block a user