Update templates/reward_status.html
Browse files
templates/reward_status.html
CHANGED
@@ -30,23 +30,22 @@
|
|
30 |
}
|
31 |
.reward-status {
|
32 |
display: flex;
|
33 |
-
justify-content:
|
34 |
flex-wrap: wrap;
|
|
|
35 |
background-color: #fff;
|
36 |
padding: 20px;
|
37 |
border-radius: 10px;
|
38 |
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
|
39 |
-
height: auto;
|
40 |
-
max-height: 800px;
|
41 |
-
overflow: hidden;
|
42 |
}
|
43 |
.item-section {
|
44 |
width: 100%; /* Default to 100% width on small screens */
|
45 |
-
height: auto;
|
46 |
display: flex;
|
47 |
flex-direction: column;
|
48 |
justify-content: space-between;
|
49 |
padding: 10px;
|
|
|
50 |
}
|
51 |
@media (min-width: 768px) {
|
52 |
.item-section {
|
@@ -93,14 +92,14 @@
|
|
93 |
.modal {
|
94 |
display: none;
|
95 |
position: fixed;
|
96 |
-
z-index:
|
97 |
left: 0;
|
98 |
top: 0;
|
99 |
width: 100%;
|
100 |
height: 100%;
|
101 |
background-color: rgba(0, 0, 0, 0.5);
|
102 |
overflow: auto;
|
103 |
-
padding-top: 60px;
|
104 |
}
|
105 |
.modal-content {
|
106 |
background-color: #fff;
|
|
|
30 |
}
|
31 |
.reward-status {
|
32 |
display: flex;
|
33 |
+
justify-content: flex-start;
|
34 |
flex-wrap: wrap;
|
35 |
+
gap: 20px; /* Adjust spacing between items */
|
36 |
background-color: #fff;
|
37 |
padding: 20px;
|
38 |
border-radius: 10px;
|
39 |
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
|
|
|
|
|
|
|
40 |
}
|
41 |
.item-section {
|
42 |
width: 100%; /* Default to 100% width on small screens */
|
43 |
+
height: auto; /* Ensure dynamic height */
|
44 |
display: flex;
|
45 |
flex-direction: column;
|
46 |
justify-content: space-between;
|
47 |
padding: 10px;
|
48 |
+
flex-grow: 1; /* Allow the container to grow as needed */
|
49 |
}
|
50 |
@media (min-width: 768px) {
|
51 |
.item-section {
|
|
|
92 |
.modal {
|
93 |
display: none;
|
94 |
position: fixed;
|
95 |
+
z-index: 1000;
|
96 |
left: 0;
|
97 |
top: 0;
|
98 |
width: 100%;
|
99 |
height: 100%;
|
100 |
background-color: rgba(0, 0, 0, 0.5);
|
101 |
overflow: auto;
|
102 |
+
padding-top: 60px; /* Allow for more content to be shown */
|
103 |
}
|
104 |
.modal-content {
|
105 |
background-color: #fff;
|