varshakolanu commited on
Commit
87a1e1a
·
verified ·
1 Parent(s): 94c81b3

Update styles.css

Browse files
Files changed (1) hide show
  1. styles.css +21 -2
styles.css CHANGED
@@ -1,3 +1,9 @@
 
 
 
 
 
 
1
  /* Background colors */
2
  .bg-light-gray {
3
  background-color: #f3f4f6; /* Tailwind bg-gray-100 */
@@ -93,13 +99,26 @@
93
  .w-full {
94
  width: 100%; /* Tailwind w-full */
95
  }
96
- .max-w-md {
97
- max-width: 28rem; /* Tailwind max-w-md */
 
 
98
  }
99
  .block {
100
  display: block; /* Tailwind block */
101
  }
102
 
 
 
 
 
 
 
 
 
 
 
 
103
  /* Borders and Shadows */
104
  .rounded {
105
  border-radius: 0.375rem; /* Tailwind rounded */
 
1
+ /* Ensure body doesn't overflow */
2
+ body {
3
+ max-width: 100%;
4
+ overflow-x: hidden;
5
+ }
6
+
7
  /* Background colors */
8
  .bg-light-gray {
9
  background-color: #f3f4f6; /* Tailwind bg-gray-100 */
 
99
  .w-full {
100
  width: 100%; /* Tailwind w-full */
101
  }
102
+ .max-w-4xl {
103
+ width: 100%; /* Ensure it uses full available width */
104
+ max-width: 64rem; /* Updated to Tailwind max-w-4xl for wider desktop layout */
105
+ min-width: 48rem; /* Ensure it doesn't shrink too much */
106
  }
107
  .block {
108
  display: block; /* Tailwind block */
109
  }
110
 
111
+ /* Responsive adjustments */
112
+ @media (max-width: 768px) {
113
+ .max-w-4xl {
114
+ max-width: 100%;
115
+ min-width: 0;
116
+ }
117
+ .p-6 {
118
+ padding: 1rem;
119
+ }
120
+ }
121
+
122
  /* Borders and Shadows */
123
  .rounded {
124
  border-radius: 0.375rem; /* Tailwind rounded */