style(mes/roll/grind): 修复辊磨页面布局溢出问题
1. 移除grind-layout的align-items: flex-start样式 2. 给el-card卡片body添加滚动和隐藏横向溢出样式 3. 调整roll-list的最小高度和内边距样式
This commit is contained in:
@@ -426,7 +426,7 @@ export default {
|
||||
|
||||
<style scoped>
|
||||
.grind-page { background: #f4f5f7; height: 100%; }
|
||||
.grind-layout { display: flex; gap: 12px; height: 100%; align-items: flex-start; }
|
||||
.grind-layout { display: flex; gap: 12px; height: 100%; }
|
||||
|
||||
/* 左侧 */
|
||||
.grind-left { width: 240px; flex-shrink: 0; }
|
||||
@@ -440,7 +440,11 @@ export default {
|
||||
|
||||
/* 辊列表 */
|
||||
.roll-filter { padding: 0 0 4px; }
|
||||
.roll-list { overflow-y: auto; flex: 1; margin: 0 -12px; }
|
||||
::v-deep .el-card .el-card__body {
|
||||
overflow-y: scroll;
|
||||
overflow-x: hidden;
|
||||
}
|
||||
.roll-list { overflow-y: auto; flex: 1; min-height: 0; padding: 0; }
|
||||
.roll-item { padding: 8px 12px; cursor: pointer; border-bottom: 1px solid #f0f2f5; }
|
||||
.roll-item:hover { background: #f5f7fa; }
|
||||
.roll-item--active { background: #e8f4ff !important; border-left: 3px solid #409eff; }
|
||||
|
||||
Reference in New Issue
Block a user