瀏覽代碼

[fix] datepicker issue

version-14
Anand Doshi 10 年之前
父節點
當前提交
83f29ee286
共有 2 個檔案被更改,包括 11 行新增0 行删除
  1. +4
    -0
      frappe/public/css/desk.css
  2. +7
    -0
      frappe/public/less/desk.less

+ 4
- 0
frappe/public/css/desk.css 查看文件

@@ -394,6 +394,10 @@ ul.linked-with-list li {
.modal-title { .modal-title {
margin-top: 5px; margin-top: 5px;
} }
.modal .form-control {
position: relative;
z-index: 1140;
}
.form-group { .form-group {
margin-bottom: 7px; margin-bottom: 7px;
} }


+ 7
- 0
frappe/public/less/desk.less 查看文件

@@ -224,6 +224,13 @@ ul.linked-with-list li {
margin-top: 5px; margin-top: 5px;
} }


// fixes datepicker z-index issue
// datepicker takes zindex of input + 1 when input's position is relative
.modal .form-control {
position: relative;
z-index: 1140;
}

.form-group { .form-group {
margin-bottom: 7px; margin-bottom: 7px;
} }


Loading…
取消
儲存