Skip to content

Commit

Permalink
Fix icon position style in HeaderBar
Browse files Browse the repository at this point in the history
  • Loading branch information
p3rcypj committed Jul 31, 2024
1 parent 971f525 commit 177ed10
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion src/webapp/pages/app/App.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import styled from "styled-components";
import { HeaderBar } from "@dhis2/ui";
import { SnackbarProvider } from "@eyeseetea/d2-ui-components";
import { Feedback } from "@eyeseetea/feedback-component";
Expand Down Expand Up @@ -43,7 +44,7 @@ function App(props: AppProps) {
<MuiThemeProvider theme={muiTheme}>
<OldMuiThemeProvider muiTheme={muiThemeLegacy}>
<SnackbarProvider>
<HeaderBar appName="Skeleton App" />
<StyledHeaderBar appName="Skeleton App" />

{appConfig.feedback && appContext && (
<Feedback
Expand All @@ -65,4 +66,10 @@ function App(props: AppProps) {
);
}

const StyledHeaderBar = styled(HeaderBar)`
div:first-of-type {
box-sizing: border-box;
}
`;

export default React.memo(App);

0 comments on commit 177ed10

Please sign in to comment.