Skip to content

Commit d4d7278

Browse files
author
Vivek Vishal
authored
Merge pull request #6306 from falgunmpatel/fix/responsive-layout
[app.style.js] fix: make layout responsive for smaller screen sizes
2 parents c551654 + 7956d50 commit d4d7278

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

src/sections/app.style.js

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,12 @@ const GlobalStyle = createGlobalStyle`
66
background: ${(props) => props.theme.secondaryColor};
77
color: #FFFFFF;
88
}
9+
* {
10+
margin: 0;
11+
padding: 0;
12+
box-sizing: border-box;
13+
}
914
10-
*,
1115
*::before,
1216
*::after {
1317
box-sizing: inherit;
@@ -50,6 +54,8 @@ html{
5054
5155
body,html {
5256
margin: 0;
57+
max-width: 100%;
58+
overflow-x: hidden;
5359
}
5460
5561
body {

0 commit comments

Comments
 (0)