Spaces:
Runtime error
Runtime error
Fix cancel button styling in edit mode
Browse files- Change cancel button CSS classes from 'btn btn-outline' to 'tt-btn tt-btn-outline'
- This ensures consistent styling with the reset and submit buttons
- All buttons in the form-actions now use the proper design system classes
static/js/modules/form-manager.js
CHANGED
|
@@ -246,7 +246,7 @@ export class FormManager {
|
|
| 246 |
const cancelBtn = document.createElement('button');
|
| 247 |
cancelBtn.type = 'button';
|
| 248 |
cancelBtn.id = 'cancelEdit';
|
| 249 |
-
cancelBtn.className = 'btn btn-outline';
|
| 250 |
cancelBtn.textContent = 'Cancel Edit';
|
| 251 |
|
| 252 |
const formActions = document.querySelector('.form-actions');
|
|
|
|
| 246 |
const cancelBtn = document.createElement('button');
|
| 247 |
cancelBtn.type = 'button';
|
| 248 |
cancelBtn.id = 'cancelEdit';
|
| 249 |
+
cancelBtn.className = 'tt-btn tt-btn-outline';
|
| 250 |
cancelBtn.textContent = 'Cancel Edit';
|
| 251 |
|
| 252 |
const formActions = document.querySelector('.form-actions');
|