Jelajahi Sumber

fix naiveui style bug

Michael Wang 3 tahun lalu
induk
melakukan
16be1751fe
1 mengubah file dengan 7 tambahan dan 0 penghapusan
  1. 7 0
      src/styles/global.css

+ 7 - 0
src/styles/global.css

@@ -215,3 +215,10 @@ body {
 .qm-modal.n-dialog .n-dialog__action {
   padding: 15px 20px;
 }
+
+/* override naiveui */
+/* 在chrome 58 消息会重叠
+https://github.com/TuSimple/naive-ui/blob/cbc2940bd84ea74782b900d2efb2d5cbadedbe1a/src/message/src/styles/index.cssr.ts#L113 */
+.n-message-container {
+  height: auto !important;
+}