Przeglądaj źródła

[fix] [style] grid overflow fix

version-14
Rushabh Mehta 9 lat temu
rodzic
commit
d5d5c3a565
2 zmienionych plików z 12 dodań i 7 usunięć
  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 Wyświetl plik

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


+ 9
- 6
frappe/public/less/form_grid.less Wyświetl plik

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


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


.grid-empty, .list-loading { .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;
}
} }
} }




Ładowanie…
Anuluj
Zapisz