🎨 Fix Dashboard Layout Overflow Issues#8
Merged
thomas-hiddenpeak merged 1 commit intoRMinte:mainfrom Oct 15, 2025
Merged
Conversation
✅ Problem Solved: - Fixed content overflowing card boundaries - Corrected progress bars extending beyond containers - Resolved temperature/disk monitoring layout issues 🔧 Technical Fixes: - Added box-sizing: border-box to all card components - Implemented overflow: hidden for proper containment - Enhanced container constraints for responsive layouts - Fixed disk grid with horizontal scroll on mobile - Added proper width and positioning for all elements 📱 Responsive Improvements: - 6-column layouts properly constrained - Fixed column width consistency across viewports - Optimized mobile display with scrollable disk grid ✨ Result: Clean, contained layouts with no overflow issues
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
🎯 问题描述
解决了RM-01监控面板中内容超出卡片边界的问题,包括温度监控和磁盘监控的进度条溢出问题。
✅ 修复内容
核心布局问题
width: 100%、box-sizing: border-box和overflow: hiddenmax-width: 100%限制响应式布局改进
技术实现
box-sizing: border-box确保 padding 计算正确overflow: hidden防止内容溢出overflow-x: auto提供水平滚动width: 100%和容器约束🔧 技术细节
CSS 修改
网格布局优化
📱 响应式支持
✨ 效果展示
🧪 测试验证
📋 相关Issue
解决了用户反馈的"内容超出底色边界"问题,确保所有监控组件在其容器内正确显示。
Ready for review ✅