Commit
·
aee1d3a
1
Parent(s):
657aec9
commit
Browse files
app.py
CHANGED
|
@@ -115,11 +115,10 @@ def create_command_card(command):
|
|
| 115 |
<summary style="padding: 16px; cursor: pointer; list-style: none; user-select: none;">
|
| 116 |
<div style="display: flex; justify-content: space-between; align-items: center; gap: 12px;">
|
| 117 |
<div style="flex: 1;">
|
| 118 |
-
<div style="display: flex; align-items: center; gap: 8px;
|
| 119 |
<span style="font-size: 18px; font-weight: 600; color: #1f2937;">/{html.escape(name)}</span>
|
| 120 |
<span style="display: inline-block; padding: 4px 10px; background: {category_color}; color: white; border-radius: 12px; font-size: 11px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.5px;">{html.escape(category_display)}</span>
|
| 121 |
</div>
|
| 122 |
-
<p style="margin: 0; color: #6b7280; font-size: 14px; line-height: 1.4;">{html.escape(description[:150])}{'...' if len(description) > 150 else ''}</p>
|
| 123 |
</div>
|
| 124 |
<svg width="20" height="20" viewBox="0 0 20 20" fill="none" style="flex-shrink: 0; transition: transform 0.2s;">
|
| 125 |
<path d="M6 8L10 12L14 8" stroke="#9ca3af" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
|
|
|
|
| 115 |
<summary style="padding: 16px; cursor: pointer; list-style: none; user-select: none;">
|
| 116 |
<div style="display: flex; justify-content: space-between; align-items: center; gap: 12px;">
|
| 117 |
<div style="flex: 1;">
|
| 118 |
+
<div style="display: flex; align-items: center; gap: 8px;">
|
| 119 |
<span style="font-size: 18px; font-weight: 600; color: #1f2937;">/{html.escape(name)}</span>
|
| 120 |
<span style="display: inline-block; padding: 4px 10px; background: {category_color}; color: white; border-radius: 12px; font-size: 11px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.5px;">{html.escape(category_display)}</span>
|
| 121 |
</div>
|
|
|
|
| 122 |
</div>
|
| 123 |
<svg width="20" height="20" viewBox="0 0 20 20" fill="none" style="flex-shrink: 0; transition: transform 0.2s;">
|
| 124 |
<path d="M6 8L10 12L14 8" stroke="#9ca3af" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
|