diff --git a/src/components/CustomToggle.jsx b/src/components/CustomToggle.jsx
new file mode 100644
index 0000000..62e1f51
--- /dev/null
+++ b/src/components/CustomToggle.jsx
@@ -0,0 +1,25 @@
+import React from "react";
+// For Bootstrap 4: use "sr-only" for visually hidden text
+
+const CustomToggle = React.forwardRef(({ onClick }, ref) => (
+
+));
+
+export default CustomToggle;
diff --git a/src/components/Titlebar.css b/src/components/Titlebar.css
index 952edef..b259d63 100644
--- a/src/components/Titlebar.css
+++ b/src/components/Titlebar.css
@@ -45,6 +45,37 @@
left: 0;
}
+.custom-drop-down-btn .dropdown-toggle {
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ width: 1.7em; /* as in your original custom-drop-down-btn styling */
+ height: 1.7em;
+ padding: 0 !important; /* Remove Bootstrap padding */
+ background: #e9ecef !important;
+ border-radius: 1.7em;
+ border: 1px solid #e9ecef !important;
+ box-shadow: none;
+ /* You can adjust height/width for your visual design */
+}
+
+/* Target the caret in the dropdown toggle and move it left and down */
+
+.custom-drop-down-btn .dropdown-toggle::after {
+ margin-left: 0 !important; /* Remove any left margin */
+ transform: translate(0, 2px); /* Move caret left (0px) and down (+2px) */
+ /* Try larger/smaller values if needed */
+}
+
+/* If you want to be very precise... */
+
+.custom-drop-down-btn .dropdown-toggle {
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ padding: 0 !important;
+}
+
@media (max-width: 640px) {
.spaceing,
.first {
diff --git a/src/components/Titlebar.jsx b/src/components/Titlebar.jsx
index e27b624..5d8ed01 100644
--- a/src/components/Titlebar.jsx
+++ b/src/components/Titlebar.jsx
@@ -1,5 +1,5 @@
import React, { useRef } from "react";
-import { Navbar, Nav, Dropdown, DropdownButton } from "react-bootstrap";
+import { Navbar, Nav, Dropdown } from "react-bootstrap";
import { Link } from "react-router-dom";
import { VscHome } from "react-icons/vsc";
import { FaFacebook } from "react-icons/fa";
@@ -14,6 +14,7 @@ import { useEffect } from "react";
import { handleClickLink } from "./helper";
import { linkUpdated } from "../features/link/linkSlice";
import { friendsListPageSet } from "../features/accountPage/accountPageSlice";
+import CustomToggle from "./CustomToggle";
const TitleBar = () => {
const refs = {
@@ -97,35 +98,39 @@ const TitleBar = () => {
-
-
-
-
-
-
-
- Log Out
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Log Out
+
+
+
+
+