Spaces:
Build error
Build error
Update static/styles.css
Browse files- static/styles.css +30 -6
static/styles.css
CHANGED
|
@@ -11,8 +11,8 @@ body {
|
|
| 11 |
|
| 12 |
.chat-container {
|
| 13 |
background-color: #fff;
|
| 14 |
-
width: 400px; /*
|
| 15 |
-
height: 600px; /*
|
| 16 |
border-radius: 8px;
|
| 17 |
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
|
| 18 |
overflow: hidden;
|
|
@@ -50,15 +50,37 @@ body {
|
|
| 50 |
}
|
| 51 |
|
| 52 |
.ingredient-item {
|
| 53 |
-
display:
|
| 54 |
-
|
| 55 |
-
align-items: center;
|
| 56 |
padding: 10px;
|
| 57 |
-
margin-bottom:
|
| 58 |
border: 1px solid #ddd;
|
| 59 |
border-radius: 5px;
|
| 60 |
}
|
| 61 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 62 |
button {
|
| 63 |
background-color: #4CAF50;
|
| 64 |
color: white;
|
|
@@ -66,6 +88,8 @@ button {
|
|
| 66 |
border: none;
|
| 67 |
border-radius: 5px;
|
| 68 |
cursor: pointer;
|
|
|
|
|
|
|
| 69 |
}
|
| 70 |
|
| 71 |
button:hover {
|
|
|
|
| 11 |
|
| 12 |
.chat-container {
|
| 13 |
background-color: #fff;
|
| 14 |
+
width: 400px; /* Increased width */
|
| 15 |
+
height: 600px; /* Increased height */
|
| 16 |
border-radius: 8px;
|
| 17 |
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
|
| 18 |
overflow: hidden;
|
|
|
|
| 50 |
}
|
| 51 |
|
| 52 |
.ingredient-item {
|
| 53 |
+
display: block; /* Change to block to stack vertically */
|
| 54 |
+
width: 100%; /* Make the ingredient item take full width */
|
|
|
|
| 55 |
padding: 10px;
|
| 56 |
+
margin-bottom: 15px; /* More space between items */
|
| 57 |
border: 1px solid #ddd;
|
| 58 |
border-radius: 5px;
|
| 59 |
}
|
| 60 |
|
| 61 |
+
.ingredient-item img {
|
| 62 |
+
width: 100%; /* Make image fill the width of the container */
|
| 63 |
+
max-width: 150px; /* Set a max-width for images */
|
| 64 |
+
height: auto;
|
| 65 |
+
object-fit: cover;
|
| 66 |
+
border-radius: 5px;
|
| 67 |
+
margin-bottom: 10px;
|
| 68 |
+
}
|
| 69 |
+
|
| 70 |
+
.ingredient-item .name {
|
| 71 |
+
text-align: center;
|
| 72 |
+
font-size: 14px;
|
| 73 |
+
font-weight: bold;
|
| 74 |
+
margin-top: 10px;
|
| 75 |
+
}
|
| 76 |
+
|
| 77 |
+
.ingredient-item .description {
|
| 78 |
+
font-size: 12px;
|
| 79 |
+
color: #666;
|
| 80 |
+
margin-top: 5px;
|
| 81 |
+
text-align: center;
|
| 82 |
+
}
|
| 83 |
+
|
| 84 |
button {
|
| 85 |
background-color: #4CAF50;
|
| 86 |
color: white;
|
|
|
|
| 88 |
border: none;
|
| 89 |
border-radius: 5px;
|
| 90 |
cursor: pointer;
|
| 91 |
+
width: 100%;
|
| 92 |
+
margin-top: 10px;
|
| 93 |
}
|
| 94 |
|
| 95 |
button:hover {
|