From 61ef097da18ddfde114988814d257fb15983eb55 Mon Sep 17 00:00:00 2001 From: bonamin Date: Wed, 18 Feb 2026 15:15:57 +0200 Subject: [PATCH] Further Improvements to the Devices Menu --- frontend/src/devices/DeviceDetail.jsx | 13 ++++++++----- frontend/src/index.css | 20 ++++++++++++++++++++ 2 files changed, 28 insertions(+), 5 deletions(-) diff --git a/frontend/src/devices/DeviceDetail.jsx b/frontend/src/devices/DeviceDetail.jsx index dab9c86..be6f65a 100644 --- a/frontend/src/devices/DeviceDetail.jsx +++ b/frontend/src/devices/DeviceDetail.jsx @@ -298,7 +298,8 @@ export default function DeviceDetail() { )} -
+ {/* Masonry layout for single-width sections */} +
{/* Basic Information */}
@@ -510,7 +511,12 @@ export default function DeviceDetail() { )} - {/* Device Settings */} + {/* Equipment Notes */} + +
+ + {/* Device Settings — full width, outside masonry flow */} +
{/* Left Column */} @@ -612,9 +618,6 @@ export default function DeviceDetail() {
- - {/* Equipment Notes */} -
* { + break-inside: avoid; + margin-bottom: 1.5rem; +} +@media (min-width: 900px) { + .device-sections { + columns: 2; + } +} +@media (min-width: 1800px) { + .device-sections { + columns: 3; + } +} + /* File input */ input[type="file"]::file-selector-button { background-color: var(--bg-card) !important;