@vtx/components 3.1.63 → 3.1.65

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -60,6 +60,17 @@
60
60
  .vtx-datagrid-noFit .ant-table-tbody > tr:nth-child(even) > td {
61
61
  background: #f6f6f6 !important;
62
62
  }
63
+ .vtx-datagrid .ant-table-container {
64
+ position: relative;
65
+ }
66
+ .vtx-datagrid .ant-table-middle .ant-table-thead > tr > th {
67
+ padding-left: 12px !important;
68
+ padding-right: 12px !important;
69
+ }
70
+ .vtx-datagrid .ant-table-middle .ant-table-tbody > tr > td {
71
+ padding-left: 12px !important;
72
+ padding-right: 12px !important;
73
+ }
63
74
  .vtx-datagrid .ant-table-tbody > tr.ant-table-row-selected > td {
64
75
  border-color: #f0f0f0 !important;
65
76
  }
@@ -75,6 +75,9 @@
75
75
  }
76
76
  }
77
77
  }
78
+ .ant-table-container {
79
+ position: relative;
80
+ }
78
81
  // 固定列目前没有办法用细的滚动条
79
82
  // .ant-table-has-fix-right {
80
83
  // .ant-table-body {
@@ -95,6 +98,16 @@
95
98
  // }
96
99
  // }
97
100
  // }
101
+ .ant-table-middle {
102
+ .ant-table-thead > tr > th {
103
+ padding-left: 12px !important;
104
+ padding-right: 12px !important;
105
+ }
106
+ .ant-table-tbody > tr > td {
107
+ padding-left: 12px !important;
108
+ padding-right: 12px !important;
109
+ }
110
+ }
98
111
  .ant-table-tbody > tr.ant-table-row-selected > td {
99
112
  // background: transparent !important;
100
113
  border-color: @table-border-color !important;
@@ -113,6 +126,7 @@
113
126
  & > .ant-table-cell {
114
127
  color: @text-color;
115
128
  }
129
+
116
130
  &.ant-table-placeholder {
117
131
  position: absolute;
118
132
  top: 25%;
@@ -28,6 +28,8 @@
28
28
  }
29
29
  .vtx-modal .ant-modal .ant-modal-content {
30
30
  height: 100%;
31
+ border-radius: 4px;
32
+ overflow: hidden;
31
33
  }
32
34
  .vtx-modal .ant-modal .ant-modal-content .ant-modal-body {
33
35
  max-height: calc(100% - 108px);
@@ -91,3 +93,9 @@
91
93
  .vtx-modal-header-title .vtx-modal-header-text + .vtx-modal-header-subtitle::before {
92
94
  color: rgba(0, 0, 0, 0.65);
93
95
  }
96
+ .ant-modal-footer {
97
+ padding: 10px 24px;
98
+ }
99
+ .ant-modal-footer .ant-btn-default {
100
+ color: rgba(0, 0, 0, 0.65);
101
+ }
@@ -25,6 +25,8 @@
25
25
  padding-bottom: 0;
26
26
  .ant-modal-content {
27
27
  height: 100%;
28
+ border-radius: 4px;
29
+ overflow: hidden;
28
30
  .ant-modal-body {
29
31
  max-height: e('calc(100% - 108px)');
30
32
  padding: 20px 24px;
@@ -99,3 +101,9 @@
99
101
  }
100
102
  }
101
103
  }
104
+ .ant-modal-footer {
105
+ padding: 10px 24px;
106
+ .ant-btn-default {
107
+ color: rgba(0,0,0,0.65);
108
+ }
109
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vtx/components",
3
- "version": "3.1.63",
3
+ "version": "3.1.65",
4
4
  "description": "React components for Vortex",
5
5
  "keywords": [
6
6
  "react",