diff --git a/frontend/src/app/agents/add/styles.module.css b/frontend/src/app/agents/add/styles.module.css
index b0b46f1..0814210 100644
--- a/frontend/src/app/agents/add/styles.module.css
+++ b/frontend/src/app/agents/add/styles.module.css
@@ -79,3 +79,52 @@
align-items: flex-start;
gap: 24px;
}
+
+@media (max-width: 1024px) {
+ .createAgentContainer {
+ display: flex;
+ padding: 16px 16px; /*did some math 32 ang orig top*/
+ flex-direction: column;
+ align-items: flex-start;
+ justify-content: flex-start;
+ height: calc(100vh - 100px - 5px - 50px);
+ gap: 24px;
+ align-self: stretch;
+ }
+ .div {
+ display: none;
+ }
+ .inputMainContainer {
+ display: flex;
+ flex-direction: column;
+ align-items: flex-start;
+ gap: 16px;
+ padding: 0px;
+ /* align-self: stretch; */
+ }
+ .lokiContainer {
+ display: flex;
+ gap: 16px;
+ align-self: stretch;
+ border-radius: 8px;
+ width: 500px;
+ padding: 24px 0 0 0;
+ }
+}
+
+@media (max-width: 768px) {
+ .inputMainContainer {
+ align-self: stretch;
+ width: 100%;
+ }
+ .lokiContainer {
+ width: 100%;
+ }
+ .inputContainer {
+ width: 100%;
+ }
+ .headerTxt > p {
+ font-size: 16px;
+ font-weight: 400;
+ }
+}
diff --git a/frontend/src/app/components/customCheckbox/styles.module.css b/frontend/src/app/components/customCheckbox/styles.module.css
index e400c14..ad898f2 100644
--- a/frontend/src/app/components/customCheckbox/styles.module.css
+++ b/frontend/src/app/components/customCheckbox/styles.module.css
@@ -19,7 +19,6 @@
flex: 1 0 0;
border-radius: var(--Basic-Forms-Checkbox-Border-Radius, 8px);
background: #1d1e2a;
- background: color(display-p3 0.1137 0.1176 0.1608);
}
.check {
display: flex;
@@ -85,7 +84,6 @@
.placeholderTxt {
align-self: stretch;
color: #d2d3e1;
- color: color(display-p3 0.8235 0.8275 0.8784);
font-family: Inter;
font-size: 16px;
font-style: normal;
diff --git a/frontend/src/app/credentials/add/page.jsx b/frontend/src/app/credentials/add/page.jsx
index ebe2109..8c3fb85 100644
--- a/frontend/src/app/credentials/add/page.jsx
+++ b/frontend/src/app/credentials/add/page.jsx
@@ -8,6 +8,7 @@ import TextField from "@/app/components/fields/textfield";
import Prompts from "@/app/components/prompts/Prompts";
import useRoleForm from "@/app/hooks/useRolesForm";
import Alert from "@/app/components/alerts/Alert";
+import useIsMobile from "@/app/hooks/useIsMobile";
const AddCredentialPage = () => {
const {
@@ -18,7 +19,10 @@ const AddCredentialPage = () => {
triggerAlert,
setTriggerAlert,
} = useRoleForm();
+
const [selectedFile, setSelectedFile] = useState(null);
+ const isMobile = useIsMobile();
+
// Click
const handleFileChange = (e) => {
const file = e.target.files[0];
@@ -27,6 +31,7 @@ const AddCredentialPage = () => {
console.log(file); //send this to backend later
}
};
+
// Drag/Drop
const handleDrop = (e) => {
e.preventDefault();
@@ -39,6 +44,7 @@ const AddCredentialPage = () => {
const handleDragOver = (e) => {
e.preventDefault();
};
+
return (
{triggerAlert && (
@@ -59,7 +65,7 @@ const AddCredentialPage = () => {
/>
{/* Create Crediantial Container */}
- {/* Upload File */}
- {/* Label */}
-
Upload File
+
Upload File
{/* Optional or Required */}
-
(Optional)
{" "}
+ {/*
(Optional)
{" "} */}
{/* Upload File */}