Parcourir la source

Hotfix: Fixing header bug

feature/1726
djordjemitrovic00 il y a 3 ans
Parent
révision
c8fb8efcef

+ 2
- 2
src/components/Buttons/ArrowButton/ArrowButton.styled.js Voir le fichier

`} `}
width: 18px; width: 18px;
height: 18px; height: 18px;
position: relative;
/* position: relative;
top: 1px; top: 1px;
left: 1px;
left: 1px; */
& path { & path {
${(props) => ${(props) =>
props.disabled && props.disabled &&

+ 2
- 2
src/components/ItemDetails/ItemDetailsHeaderCard/ItemDetailsHeaderCard.styled.js Voir le fichier

background-color: ${selectedTheme.colors.primaryPurple}; background-color: ${selectedTheme.colors.primaryPurple};
border-radius: 100%; border-radius: 100%;
padding-top: 2px; padding-top: 2px;
position: absolute;
/* position: absolute;
top: 10px; top: 10px;
right: 10px;
right: 10px; */
${(props) => ${(props) =>
props.disabled && props.disabled &&
css` css`

+ 5
- 2
src/components/Popovers/MyProfile/MyProfile.js Voir le fichier

import AboutButton from "./AboutButton/AboutButton"; import AboutButton from "./AboutButton/AboutButton";
import PrivacyPolicyButton from "./PrivacyPolicyButton/PrivacyPolicyButton"; import PrivacyPolicyButton from "./PrivacyPolicyButton/PrivacyPolicyButton";
import PricesButton from "./PricesButton/PricesButton"; import PricesButton from "./PricesButton/PricesButton";
import { ADMIN_HOME_PAGE } from "../../../constants/pages";
import { ADMIN_HOME_PAGE, PROFILE_PAGE } from "../../../constants/pages";
import { replaceInRoute } from "../../../util/helpers/routeHelpers";


export const MyProfile = (props) => { export const MyProfile = (props) => {
const { t } = useTranslation(); const { t } = useTranslation();
} }
}, [profile]); }, [profile]);
const seeMyProfile = () => { const seeMyProfile = () => {
history.push(`/profile/${userId}`);
history.push(replaceInRoute(PROFILE_PAGE, {
profileId: userId
}));
props.closePopover(); props.closePopover();
}; };
const goToAdminHome = () => { const goToAdminHome = () => {

Chargement…
Annuler
Enregistrer