fix: adjust dropdown menu width and layout for better responsiveness

- Set fixed min-width (150px) and max-width (200px) for the dropdown menu to ensure it does not expand too much on smaller screens.
- Removed flex-grow from dropdown to prevent it from taking excess space.
- Improved flex layout between dropdown, EditModeToggle, and expand icon to ensure proper spacing and alignment.
This commit is contained in:
ISA
2024-09-11 10:57:36 +02:00
parent a43fbff4f8
commit 30f671e1c1
2 changed files with 13 additions and 6 deletions

View File

@@ -1,5 +1,5 @@
// /components/EditModeToggle.js
import React, { useState, useEffect } from "react";
import DesignServicesIcon from "@mui/icons-material/DesignServices";
import EditOffIcon from "@mui/icons-material/EditOff";
import ModeEditIcon from "@mui/icons-material/ModeEdit";
import Tooltip from "@mui/material/Tooltip"; // Importiere Tooltip von Material-UI