Update app.py
Browse files
app.py
CHANGED
|
@@ -45,9 +45,9 @@ STYLE_BLOCK = """
|
|
| 45 |
gap: 15px; /* Space between individual key-value items */
|
| 46 |
}
|
| 47 |
.key-value-pair {
|
| 48 |
-
flex: 1 1 calc(
|
| 49 |
box-sizing: border-box; /* Include padding and border in the width */
|
| 50 |
-
min-width:
|
| 51 |
background: #fff;
|
| 52 |
padding: 10px;
|
| 53 |
border: 1px solid #e0e0e0;
|
|
|
|
| 45 |
gap: 15px; /* Space between individual key-value items */
|
| 46 |
}
|
| 47 |
.key-value-pair {
|
| 48 |
+
flex: 1 1 calc(25% - 15px); /* For 3 items in a row, considering gap */
|
| 49 |
box-sizing: border-box; /* Include padding and border in the width */
|
| 50 |
+
min-width: 150px; /* Prevent items from becoming too narrow */
|
| 51 |
background: #fff;
|
| 52 |
padding: 10px;
|
| 53 |
border: 1px solid #e0e0e0;
|