Infinity-1995 commited on
Commit
693c27c
·
verified ·
1 Parent(s): f617545

Update log.html

Browse files
Files changed (1) hide show
  1. log.html +8 -2
log.html CHANGED
@@ -14,6 +14,13 @@ body{
14
  background:#F7F5F0;
15
  }
16
 
 
 
 
 
 
 
 
17
  .card{
18
  background:white;
19
  border-radius:16px;
@@ -62,7 +69,6 @@ body{
62
  <option>Raw Ingredients</option>
63
  </select>
64
 
65
- <!-- ONLY CHANGE: placeholder -->
66
  <label>Name / Food Label</label>
67
  <input id="foodName"
68
  class="w-full border p-3 rounded-lg mt-2 mb-3"
@@ -162,7 +168,7 @@ x.priority=="Medium"?"medium":"low"
162
  ${x.priority}</span>
163
 
164
  <!-- FIXED BUTTON LAYOUT -->
165
- <div class="mt-3 flex gap-2 flex-wrap">
166
 
167
  <button class="btn high"
168
  style="background:#10b981;color:white"
 
14
  background:#F7F5F0;
15
  }
16
 
17
+ /* FIX: prevent text overflow/overlap */
18
+ .card, .card *{
19
+ overflow-wrap: anywhere;
20
+ word-break: break-word;
21
+ box-sizing: border-box;
22
+ }
23
+
24
  .card{
25
  background:white;
26
  border-radius:16px;
 
69
  <option>Raw Ingredients</option>
70
  </select>
71
 
 
72
  <label>Name / Food Label</label>
73
  <input id="foodName"
74
  class="w-full border p-3 rounded-lg mt-2 mb-3"
 
168
  ${x.priority}</span>
169
 
170
  <!-- FIXED BUTTON LAYOUT -->
171
+ <div class="mt-4 flex gap-2 flex-wrap">
172
 
173
  <button class="btn high"
174
  style="background:#10b981;color:white"