Browse Source

fix(modal): avoid style pollution to the whole world (#1128)

love-life 3 years ago
parent
commit
6e7f6f82ed
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/components/Modal/src/index.less

+ 1 - 1
src/components/Modal/src/index.less

@@ -19,7 +19,7 @@
   width: 520px;
   width: 520px;
   padding-bottom: 0;
   padding-bottom: 0;
 
 
-  .scrollbar {
+  .ant-modal-body > .scrollbar {
     padding: 14px;
     padding: 14px;
   }
   }