Skip to content

Commit

Permalink
Update global styles and layout parameters
Browse files Browse the repository at this point in the history
This commit includes a change in the global styles file to allow elements to display in a flex layout and centrally align their content.
In addition, modifications have been made to the layout-window file to ensure elements take up 100% width, enhancing the app's layout flexibility.
  • Loading branch information
ost-ptk committed May 17, 2024
1 parent 115e0b5 commit 91471c4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/libs/layout/layout-window.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ const PageFooter = styled.footer``;

const Container = styled(FlexColumn)`
height: 100%;
width: 100%;
`;

export function LayoutWindow({
Expand Down
3 changes: 3 additions & 0 deletions src/libs/ui/global-style.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@ export const GlobalStyle = createGlobalStyle<{ theme: any }>`
border-radius: 16px;
color: ${props => props.theme.color.contentPrimary};
display: flex;
justify-content: center;
}
* {
Expand Down

0 comments on commit 91471c4

Please sign in to comment.