From 038185b65672ff53d89da9fc61bd6f415f8b0861 Mon Sep 17 00:00:00 2001 From: alexsparkes Date: Fri, 1 Mar 2024 21:02:56 +0000 Subject: [PATCH] fix: Photoinformation padding inconsistency --- src/features/background/scss/_photoinformation.scss | 2 +- src/features/navbar/Navbar.jsx | 3 +-- src/features/{background => navbar/components}/Maximise.jsx | 2 +- src/features/navbar/components/index.jsx | 1 + 4 files changed, 4 insertions(+), 4 deletions(-) rename src/features/{background => navbar/components}/Maximise.jsx (98%) diff --git a/src/features/background/scss/_photoinformation.scss b/src/features/background/scss/_photoinformation.scss index d86116df..857b50d7 100644 --- a/src/features/background/scss/_photoinformation.scss +++ b/src/features/background/scss/_photoinformation.scss @@ -358,7 +358,7 @@ .photoInformation-content { line-height: 2em; - margin-right: 3px; + padding-right: 10px; display: flex; flex-flow: row; align-items: center; diff --git a/src/features/navbar/Navbar.jsx b/src/features/navbar/Navbar.jsx index 50f5a492..f891ecd9 100644 --- a/src/features/navbar/Navbar.jsx +++ b/src/features/navbar/Navbar.jsx @@ -7,9 +7,8 @@ import { MdSettings } from 'react-icons/md'; // import Todo from './buttons/Todo'; // import Apps from './buttons/Apps'; -import { Notes, Todo, Apps, Refresh } from './components'; +import { Notes, Todo, Apps, Refresh, Maximise } from './components'; -import Maximise from '../background/Maximise'; import { Tooltip } from 'components/Elements'; import EventBus from 'utils/eventbus'; diff --git a/src/features/background/Maximise.jsx b/src/features/navbar/components/Maximise.jsx similarity index 98% rename from src/features/background/Maximise.jsx rename to src/features/navbar/components/Maximise.jsx index ce8a588f..8e6f918e 100644 --- a/src/features/background/Maximise.jsx +++ b/src/features/navbar/components/Maximise.jsx @@ -86,4 +86,4 @@ class Maximise extends PureComponent { } } -export default Maximise; +export { Maximise as default, Maximise }; diff --git a/src/features/navbar/components/index.jsx b/src/features/navbar/components/index.jsx index 4292e939..d4b78a4b 100644 --- a/src/features/navbar/components/index.jsx +++ b/src/features/navbar/components/index.jsx @@ -2,3 +2,4 @@ export * from './Apps'; export * from './Notes'; export * from './Todo'; export * from './Refresh'; +export * from './Maximise';