浏览代码

[fix] [style] grid overflow fix

version-14
Rushabh Mehta 9 年前
父节点
当前提交
d5d5c3a565
共有 2 个文件被更改,包括 12 次插入7 次删除
  1. +3
    -1
      frappe/public/css/form_grid.css
  2. +9
    -6
      frappe/public/less/form_grid.less

+ 3
- 1
frappe/public/css/form_grid.css 查看文件

@@ -39,7 +39,6 @@
}
.grid-body .data-row {
font-size: 12px;
overflow: hidden;
}
.grid-empty,
.list-loading {
@@ -112,6 +111,9 @@
.grid-body .grid-static-col[data-fieldtype="Button"] .field-area button {
height: 27px;
}
.grid-body .grid-static-col[data-fieldtype="Code"] {
overflow: hidden;
}
.grid-body .grid-static-col[data-fieldtype="Code"] .static-area {
margin-top: -5px;
}


+ 9
- 6
frappe/public/less/form_grid.less 查看文件

@@ -52,7 +52,6 @@

.grid-body .data-row {
font-size: 12px;
overflow: hidden;
}

.grid-empty, .list-loading {
@@ -146,12 +145,16 @@
}
}

.grid-static-col[data-fieldtype="Code"] .static-area {
margin-top: -5px;
.grid-static-col[data-fieldtype="Code"] {
overflow: hidden;

.static-area {
margin-top: -5px;

pre {
background: none;
border: none;
pre {
background: none;
border: none;
}
}
}



正在加载...
取消
保存