fix: remove left borders from cards - use background color only

Per user request, removed border-left from success/info/warning cards.
Cards now distinguished by background color only, preserving border-radius.

Updated in:
- EmailRenderer.php: removed border-left from inline styles
- EditTemplate.tsx: removed border-left from CSS classes
- TemplateEditor.tsx: removed border-left from CSS classes

Card styling now:
- Success: #f0fdf4 (light green)
- Info: #f0f7ff (light blue)
- Warning: #fff8e1 (light yellow/cream)
- Hero: gradient background
This commit is contained in:
Dwindi Ramadhana
2026-01-02 00:04:30 +07:00
parent 930e525421
commit 3f8d15de61
3 changed files with 10 additions and 10 deletions

View File

@@ -451,15 +451,15 @@ class EmailRenderer {
}
// Success card - green theme
elseif ($type === 'success') {
$style .= ' background-color: #f0fdf4; border-left: 4px solid #22c55e;';
$style .= ' background-color: #f0fdf4;';
}
// Info card - blue theme
elseif ($type === 'info') {
$style .= ' background-color: #f0f7ff; border-left: 4px solid #0071e3;';
$style .= ' background-color: #f0f7ff;';
}
// Warning card - orange theme
// Warning card - orange/yellow theme
elseif ($type === 'warning') {
$style .= ' background-color: #fff8e1; border-left: 4px solid #ff9800;';
$style .= ' background-color: #fff8e1;';
}
}