From 595b76e0817d9598b7f09fb19f2cc8ac3e3191cc Mon Sep 17 00:00:00 2001 From: Aleix Soler Date: Sat, 19 Jul 2025 18:49:18 +0200 Subject: [PATCH] refactor: settings css BEM --- .../SettingsUI.tsx/CustomStatusItem.tsx | 49 ++++++++------ .../SettingsUI.tsx/CustomStatusSettings.tsx | 2 +- styles/components/settings.css | 67 ++++++++++--------- 3 files changed, 62 insertions(+), 56 deletions(-) diff --git a/components/SettingsUI.tsx/CustomStatusItem.tsx b/components/SettingsUI.tsx/CustomStatusItem.tsx index e20897e..a189789 100644 --- a/components/SettingsUI.tsx/CustomStatusItem.tsx +++ b/components/SettingsUI.tsx/CustomStatusItem.tsx @@ -27,10 +27,10 @@ export const CustomStatusItem: React.FC = ({ return (
{/* Simple horizontal layout with all inputs in a row */} -
+
{/* Icon field - simple text input */} -
- +
+ = ({ onCustomStatusChange(index, "icon", value || "") } placeholder="📝" - className="custom-status-icon-input" + className="custom-status-item__input custom-status-item__input--icon" />
{/* Name field */} -
-