File tree Expand file tree Collapse file tree 1 file changed +28
-5
lines changed
Expand file tree Collapse file tree 1 file changed +28
-5
lines changed Original file line number Diff line number Diff line change @@ -38,12 +38,19 @@ a:hover {
3838 color : # 535bf2 ;
3939}
4040
41- body {
41+ html , body {
4242 margin : 0 ;
43+ padding : 0 ;
44+ width : 100% ;
45+ height : 100% ;
46+ min-height : 100vh ;
47+ min-width : 320px ;
48+ overflow-x : hidden;
49+ }
50+
51+ body {
4352 display : flex;
4453 place-items : center;
45- min-width : 320px ;
46- min-height : 100vh ;
4754}
4855
4956h1 {
@@ -75,10 +82,26 @@ button:focus-visible {
7582}
7683
7784# app {
78- max-width : 1280px ;
79- margin : 0 auto;
85+ width : 100% ;
86+ height : 100% ;
87+ min-height : 100vh ;
88+ margin : 0 ;
8089 padding : 2rem ;
8190 text-align : center;
91+ box-sizing : border-box;
92+ }
93+
94+ @media (min-width : 768px ) {
95+ # app {
96+ max-width : 1280px ;
97+ margin : 0 auto;
98+ }
99+ }
100+
101+ @media (max-width : 767px ) {
102+ # app {
103+ padding : 1rem ;
104+ }
82105}
83106
84107@media (prefers-color-scheme : light) {
You can’t perform that action at this time.
0 commit comments