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

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

love-life 3 лет назад
Родитель
Сommit
6e7f6f82ed
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      src/components/Modal/src/index.less

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

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