Jelajahi Sumber

UI: Fixed position of confirm modal when scrolled down, Fixes #1345

Torkel Ödegaard 11 tahun lalu
induk
melakukan
af3aa81d71
2 mengubah file dengan 2 tambahan dan 2 penghapusan
  1. 1 1
      src/css/less/grafana.less
  2. 1 1
      src/vendor/bootstrap/less/modals.less

+ 1 - 1
src/css/less/grafana.less

@@ -66,7 +66,7 @@
   right: 0;
   right: 0;
   margin-left: auto;
   margin-left: auto;
   margin-right: auto;
   margin-right: auto;
-  top: 200px;
+  top: 30%;
 }
 }
 
 
 .grafana-search-metric-actions {
 .grafana-search-metric-actions {

+ 1 - 1
src/vendor/bootstrap/less/modals.less

@@ -22,7 +22,7 @@
 
 
 // Base modal
 // Base modal
 .modal {
 .modal {
-  position: absolute;
+  position: fixed;
   z-index: @zindexModal;
   z-index: @zindexModal;
   width: 100%;
   width: 100%;
   background-color: @white;
   background-color: @white;