fixed retry svg fill color

This commit is contained in:
Vladimir Khvan 2023-10-10 15:40:14 +05:00
parent e1b0825940
commit 94b5fa44ae

View File

@ -21,6 +21,8 @@ import { useParams } from "react-router-dom";
import FloatingButton from "@docspace/components/floating-button";
import Base from "@docspace/components/themes/base";
const HeaderContainer = styled.div`
position: sticky;
top: 0;
@ -88,7 +90,7 @@ const HeaderContainer = styled.div`
.combo-button_selected-icon {
svg {
path {
fill: ${(props) => (props.isDisabled ? "#d0d5da" : "#333")};
fill: ${(props) => (props.isDisabled ? "#d0d5da" : props.theme.color)};
}
}
}
@ -109,6 +111,8 @@ const HeaderContainer = styled.div`
}
`;
HeaderContainer.defaultProps = { theme: Base };
const HistoryHeader = (props) => {
const {
isGroupMenuVisible,