Просмотр исходного кода

dashfolders: allow overflow-y for modals

Daniel Lee 8 лет назад
Родитель
Сommit
691ff32ae9
2 измененных файлов с 1 добавлено и 6 удалено
  1. 1 1
      public/app/features/dashboard/save_as_modal.ts
  2. 0 5
      public/sass/components/_modals.scss

+ 1 - 1
public/app/features/dashboard/save_as_modal.ts

@@ -3,7 +3,7 @@
 import coreModule from 'app/core/core_module';
 import coreModule from 'app/core/core_module';
 
 
 const  template = `
 const  template = `
-<div class="modal-body modal-body--with-overflow">
+<div class="modal-body">
 	<div class="modal-header">
 	<div class="modal-header">
 		<h2 class="modal-header-title">
 		<h2 class="modal-header-title">
 			<i class="fa fa-copy"></i>
 			<i class="fa fa-copy"></i>

+ 0 - 5
public/sass/components/_modals.scss

@@ -62,7 +62,6 @@
 // Body (where all modal content resides)
 // Body (where all modal content resides)
 .modal-body {
 .modal-body {
   position: relative;
   position: relative;
-  overflow-y: auto;
 }
 }
 
 
 .modal-content {
 .modal-content {
@@ -87,10 +86,6 @@
   max-width: 500px;
   max-width: 500px;
 }
 }
 
 
-.modal-body--with-overflow {
-  overflow-y: visible;
-}
-
 .confirm-modal {
 .confirm-modal {
   max-width: 500px;
   max-width: 500px;