Skip to content

Commit

Permalink
App notifications position fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
manojVivek committed Oct 14, 2020
1 parent 83583f6 commit 7aec92d
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ const AppNotification = () => {
const commonClasses = useCommonStyles();

useEffect(() => {
if (process.env.NODE_ENV === 'development') {
if (process.env.NODE_ENV === 'development1') {
return;
}
(async () => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
padding: 10px 20px 20px 20px;
min-width: 250px;
max-width: 320px;
color: #f8f8f8;
}

.titleContainer {
Expand Down
2 changes: 0 additions & 2 deletions desktop-app/app/components/Header/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ import PermissionPopup from '../PermissionPopup';

import NavigationControlsContainer from '../../containers/NavigationControlsContainer';
import BookmarksBar from '../../containers/BookmarksBarContainer';
import AppNotification from '../AppNotification/AppNotification';
import Logo from '../icons/Logo';
import ZenButton from '../ZenButton';
import cx from 'classnames';
Expand Down Expand Up @@ -54,7 +53,6 @@ const Header = props => {
pauseOnHover
toastClassName={classes.darkToast}
/>
<AppNotification />
<ZenButton
active={!props.isHeaderVisible}
onClick={() => props.setHeaderVisibility(!props.isHeaderVisible)}
Expand Down
2 changes: 2 additions & 0 deletions desktop-app/app/containers/Browser/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ import LeftIconsPaneContainer from '../LeftIconsPaneContainer';
import HeaderContainer from '../HeaderContainer';
import os from 'os';
import HorizontalSpacer from '../../components/HorizontalSpacer';
import AppNotification from '../../components/AppNotification/AppNotification';

const Browser = ({browser}) => (
<Fragment>
Expand Down Expand Up @@ -61,6 +62,7 @@ const Browser = ({browser}) => (
) : null}
</div>
</div>
<AppNotification />
</Fragment>
);

Expand Down

0 comments on commit 7aec92d

Please sign in to comment.