diff --git a/.idea/.gitignore b/.idea/.gitignore
new file mode 100644
index 0000000..13566b8
--- /dev/null
+++ b/.idea/.gitignore
@@ -0,0 +1,8 @@
+# Default ignored files
+/shelf/
+/workspace.xml
+# Editor-based HTTP Client requests
+/httpRequests/
+# Datasource local storage ignored files
+/dataSources/
+/dataSources.local.xml
diff --git a/.idea/GDB-UI.iml b/.idea/GDB-UI.iml
new file mode 100644
index 0000000..d6ebd48
--- /dev/null
+++ b/.idea/GDB-UI.iml
@@ -0,0 +1,9 @@
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/inspectionProfiles/Project_Default.xml b/.idea/inspectionProfiles/Project_Default.xml
new file mode 100644
index 0000000..03d9549
--- /dev/null
+++ b/.idea/inspectionProfiles/Project_Default.xml
@@ -0,0 +1,6 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/material_theme_project_new.xml b/.idea/material_theme_project_new.xml
new file mode 100644
index 0000000..e5691ca
--- /dev/null
+++ b/.idea/material_theme_project_new.xml
@@ -0,0 +1,12 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/misc.xml b/.idea/misc.xml
new file mode 100644
index 0000000..62269df
--- /dev/null
+++ b/.idea/misc.xml
@@ -0,0 +1,7 @@
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/modules.xml b/.idea/modules.xml
new file mode 100644
index 0000000..c692ec5
--- /dev/null
+++ b/.idea/modules.xml
@@ -0,0 +1,8 @@
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/vcs.xml b/.idea/vcs.xml
new file mode 100644
index 0000000..35eb1dd
--- /dev/null
+++ b/.idea/vcs.xml
@@ -0,0 +1,6 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/webapp/src/components/Breakpoint/Breakpoint.css b/webapp/src/components/Breakpoint/Breakpoint.css
index 0854cf5..2166783 100644
--- a/webapp/src/components/Breakpoint/Breakpoint.css
+++ b/webapp/src/components/Breakpoint/Breakpoint.css
@@ -3,8 +3,12 @@
flex-direction: column;
align-items: flex-start;
gap: 10px;
+ position: relative;
+ top: -100px;
}
.add-breakpoint {
+ position: absolute;
+ right:-400px;
display: flex;
padding: 6px 12px;
align-items: flex-start;
@@ -13,6 +17,9 @@
}
.lower-breakpoint {
+ position: absolute; /* Make it independent of other components */
+ right: -460px; /* Adjust this value for desired placement */
+ top: 50px; /* Adjust this to control vertical positioning */
display: flex;
height: 177px;
padding: 7px 10px;
@@ -20,9 +27,10 @@
align-items: flex-start;
gap: 9px;
border: 1px solid var(--Gray-2, #4f4f4f);
- /* background: #1e1e1e; */
+ margin-top: 0; /* Disable margin if using absolute positioning */
}
+
.line-breakpoint {
display: flex;
align-items: center;
@@ -38,3 +46,20 @@
border-radius: 2px;
background: var(--primary-orange, #e88f40);
}
+
+
+/* Media Query for screens smaller than 768px */
+@media (max-width: 768px) {
+
+ .add-breakpoint {
+ position: static; /* Remove absolute positioning for natural stacking */
+ width: auto; /* Adjust width to content size */
+ align-self: center; /* Center the button in the layout */
+ }
+
+ .lower-breakpoint {
+ position: static; /* Remove absolute positioning for stacking */
+ width: auto; /* Adjust width to fit content */
+ align-self: center; /* Center the element in the layout */
+ }
+}
\ No newline at end of file
diff --git a/webapp/src/components/Breakpoint/Breakpoint.jsx b/webapp/src/components/Breakpoint/Breakpoint.jsx
index e556444..e30e907 100644
--- a/webapp/src/components/Breakpoint/Breakpoint.jsx
+++ b/webapp/src/components/Breakpoint/Breakpoint.jsx
@@ -56,7 +56,7 @@ const Breakpoint = () => {
onChange={(e) => setBreakFunction(e.target.value)}
/>
-