trithuc-mvc-react 3.3.1 → 3.3.3
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.
|
@@ -27,7 +27,7 @@ const ExportExcelButton = ({ tableName, data, size = "small" }) => {
|
|
|
27
27
|
onClick={() => {
|
|
28
28
|
handleExportExcel(tableName, data);
|
|
29
29
|
}}
|
|
30
|
-
sx={{ ml: 0.5, mr: 0.5, minWidth: "
|
|
30
|
+
sx={{ ml: 0.5, mr: 0.5, minWidth: "100px", textTransform: "none" }}
|
|
31
31
|
>
|
|
32
32
|
<Typography
|
|
33
33
|
noWrap
|
|
@@ -53,7 +53,7 @@ const ExportExcelButton = ({ tableName, data, size = "small" }) => {
|
|
|
53
53
|
onClick={() => {
|
|
54
54
|
handleExportExcel(tableName, data);
|
|
55
55
|
}}
|
|
56
|
-
sx={{ ml: 0.5, mr: 0.5, minWidth: "
|
|
56
|
+
sx={{ ml: 0.5, mr: 0.5, minWidth: "100px", textTransform: "none" }}
|
|
57
57
|
>
|
|
58
58
|
<Typography
|
|
59
59
|
noWrap
|
|
@@ -139,6 +139,12 @@ function DataManagement({
|
|
|
139
139
|
return elementSize;
|
|
140
140
|
}, [upXL]);
|
|
141
141
|
|
|
142
|
+
useEffect(() => {
|
|
143
|
+
setTimeout(() => {
|
|
144
|
+
window.dispatchEvent(new Event("resize"));
|
|
145
|
+
}, 50);
|
|
146
|
+
}, []);
|
|
147
|
+
|
|
142
148
|
useEffect(() => {
|
|
143
149
|
setDataSearch({ ...dataSearch, ...defaults });
|
|
144
150
|
}, [filters]);
|
|
@@ -413,7 +419,7 @@ function DataManagement({
|
|
|
413
419
|
sx={{
|
|
414
420
|
ml: 0.5,
|
|
415
421
|
mr: 0.5,
|
|
416
|
-
minWidth: "
|
|
422
|
+
minWidth: "110px",
|
|
417
423
|
textTransform: "none" // ✅ Không viết hoa tự động
|
|
418
424
|
}}
|
|
419
425
|
>
|