diff --git a/web-app/src/app/index.jsx b/web-app/src/app/index.jsx index 9d0b576..8ce7147 100644 --- a/web-app/src/app/index.jsx +++ b/web-app/src/app/index.jsx @@ -3,7 +3,7 @@ import ChatLayout from "src/components/layouts/chat-layout"; function App() { return ( -
+
); diff --git a/web-app/src/components/layouts/chat-layout.jsx b/web-app/src/components/layouts/chat-layout.jsx index 5d64ed8..ebb0208 100644 --- a/web-app/src/components/layouts/chat-layout.jsx +++ b/web-app/src/components/layouts/chat-layout.jsx @@ -25,7 +25,7 @@ export default function ChatLayout() { } return ( -
+
diff --git a/web-app/src/components/ui/button/action-button.css b/web-app/src/components/ui/button/action-button.css deleted file mode 100644 index 499ef30..0000000 --- a/web-app/src/components/ui/button/action-button.css +++ /dev/null @@ -1,29 +0,0 @@ -.action-btn { - display: inline-flex; - align-items: center; - gap: 6px; - padding: 6px 12px; - border: 2px solid var(--btn-color); - border-radius: 6px; - background-color: white; - color: var(--btn-color); - font-weight: 500; - cursor: pointer; - transition: all 0.25s ease; -} - -.action-btn:hover, -.action-btn:focus { - background-color: var(--btn-color); - color: white; - border-color: var(--btn-color); -} - -.action-btn svg { - fill: currentColor; - transition: fill 0.25s ease; -} - -.action-btn:hover { - transform: translateY(-1px); -} diff --git a/web-app/src/components/ui/button/action-button.jsx b/web-app/src/components/ui/button/action-button.jsx index 52573a5..9df9c6f 100644 --- a/web-app/src/components/ui/button/action-button.jsx +++ b/web-app/src/components/ui/button/action-button.jsx @@ -6,43 +6,6 @@ export default function ActionButton({ type = "add", // 'add' or 'delete' ...props }) { - // Define color and icon based on type - const config = { - add: { - color: "#0F2862", - svg: ( - - - - ), - }, - delete: { - color: "#9E363A", - svg: ( - - - - ), - }, - }; - - const { color, svg } = config[type] || config.add; - return (