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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user