diff --git a/frontend/src/App.css b/frontend/src/App.css
index ec8bc59..f4c0b46 100644
--- a/frontend/src/App.css
+++ b/frontend/src/App.css
@@ -10,3 +10,20 @@
.btn:hover {
background: #125ea8;
}
+
+select {
+ font-size: 14px;
+ padding: 6px;
+ border-radius: 6px;
+ border: 1px solid #ccc;
+}
+
+code {
+ background: #eee;
+ padding: 2px 4px;
+ border-radius: 4px;
+}
+
+.form-title {
+ color: #125ea8;
+}
\ No newline at end of file
diff --git a/frontend/src/components/Diagram.jsx b/frontend/src/components/Diagram.jsx
index 030608e..d23927f 100644
--- a/frontend/src/components/Diagram.jsx
+++ b/frontend/src/components/Diagram.jsx
@@ -106,18 +106,61 @@ function Diagram() {
{showForm && (
-
-
Add Node
+
+
+ 🧩 Add New Node
+
+
+
setNewLabel(e.target.value)}
- style={{ marginBottom: 8, display: 'block', width: '100%' }}
+ style={{
+ padding: '6px',
+ width: '100%',
+ borderRadius: 6,
+ border: '1px solid #ccc',
+ marginBottom: 12,
+ }}
/>
+
-
-
+
+
+
+
+
)}
@@ -139,4 +182,4 @@ function Diagram() {
);
}
-export default Diagram;
\ No newline at end of file
+export default Diagram;
diff --git a/frontend/src/components/IconSelector.jsx b/frontend/src/components/IconSelector.jsx
index dbd20dd..50e7c32 100644
--- a/frontend/src/components/IconSelector.jsx
+++ b/frontend/src/components/IconSelector.jsx
@@ -17,39 +17,75 @@ function IconSelector({ onSelect }) {
onSelect('');
};
- const handleIconChange = (e) => {
- const icon = e.target.value;
- setSelectedIcon(icon);
- onSelect(icon);
+ const handleIconClick = (url) => {
+ setSelectedIcon(url);
+ onSelect(url);
};
return (
-
-
+
+
+
+
{selectedCategory && (
- <>
-
-
);