style: Layout-Anpassung für Einstellungsseite (Ausrichtung rechts oben)

- Inhalte in GeneralSettings und OPCUAInterfaceSettings nicht mehr zentriert
- Layout konsistent mit anderen Seiten (rechts oben durch max-w-5xl + mr-auto)
- Bessere Ausrichtung für Desktop-Auflösung und altes Laptop-Design
This commit is contained in:
ISA
2025-04-23 13:21:31 +02:00
parent 549288ebb9
commit 4fa534ee42
4 changed files with 74 additions and 34 deletions

View File

@@ -65,7 +65,7 @@ const GeneralSettings: React.FC = () => {
//-------------------------------
return (
<div className="p-2 md:p-3 bg-gray-100 max-w-2xl mx-auto">
<div className="p-6 md:p-3 bg-gray-100 max-w-5xl mr-auto">
<h2 className="text-sm md:text-md font-bold mb-2">
Allgemeine Einstellungen
</h2>

View File

@@ -36,7 +36,7 @@ export default function OPCUAInterfaceSettings() {
};
return (
<div className="max-w-lg mx-auto p-2 bg-gray-100 shadow-md rounded-lg">
<div className="p-6 md:p-3 bg-gray-100 max-w-5xl mr-auto ">
<h2 className="text-base font-semibold mb-3">
OPCUA Server Einstellungen
</h2>