diff --git a/src/pages/PublicNotice/Details_Public/ApplicationDetailCard.js b/src/pages/PublicNotice/Details_Public/ApplicationDetailCard.js
index 1f73e27..1b193f2 100644
--- a/src/pages/PublicNotice/Details_Public/ApplicationDetailCard.js
+++ b/src/pages/PublicNotice/Details_Public/ApplicationDetailCard.js
@@ -37,6 +37,8 @@ import {
import CloseIcon from '@mui/icons-material/Close';
import EditNoteIcon from '@mui/icons-material/EditNote';
import DownloadIcon from '@mui/icons-material/Download';
+import {PNSPS_BUTTON_THEME} from "../../../themes/buttonConst";
+import {ThemeProvider} from "@emotion/react";
// ==============================|| DASHBOARD - DEFAULT ||============================== //
const ApplicationDetailCard = (
{ applicationDetailData,
@@ -159,20 +161,18 @@ const ApplicationDetailCard = (
: null
}
+
+
@@ -520,15 +520,17 @@ const ApplicationDetailCard = (
+
+
diff --git a/src/pages/PublicNotice/Details_Public/StatusChangeDialog.js b/src/pages/PublicNotice/Details_Public/StatusChangeDialog.js
index 7965947..743adf5 100644
--- a/src/pages/PublicNotice/Details_Public/StatusChangeDialog.js
+++ b/src/pages/PublicNotice/Details_Public/StatusChangeDialog.js
@@ -16,9 +16,10 @@ import {
DialogTitle,
FormLabel,
} from '@mui/material';
-import { Grid } from "../../../../node_modules/@mui/material/index";
import { useFormik,FormikProvider } from 'formik';
import * as yup from 'yup';
+import {PNSPS_BUTTON_THEME} from "../../../themes/buttonConst";
+import {ThemeProvider} from "@emotion/react";
const StatusChangeDialog = (props) => {
@@ -26,7 +27,7 @@ const StatusChangeDialog = (props) => {
useEffect(() => {
console.log(Object.keys(!props.selectedGazetteGroup).length)
- if(props.getStatus == "cancel"){
+ if(props.getStatus === "cancel"){
setStatus("取消")
}
}, [props.getStatus]);
@@ -58,42 +59,44 @@ const StatusChangeDialog = (props) => {
maxWidth={'xs'}
>
-
-
-
-
- {status}公共啟事
-
-
-
-
+
+ {status}公共啟事
+
-
+
+
-
-
- 確定
+
+ 確定
+
);
diff --git a/src/pages/PublicNotice/Details_Public/index.js b/src/pages/PublicNotice/Details_Public/index.js
index 96588fc..821e57c 100644
--- a/src/pages/PublicNotice/Details_Public/index.js
+++ b/src/pages/PublicNotice/Details_Public/index.js
@@ -52,7 +52,6 @@ const DashboardDefault = () => {
const title = appNo + ", " + gazetteIssue + ", " + issueNum
const _sx = {
- padding: "4 2 4 2",
boxShadow: 1,
border: 1,
borderColor: '#DDD',
@@ -177,7 +176,7 @@ const DashboardDefault = () => {
-
+
{
!onReady ?
:
-
+
{/*col 2*/}
diff --git a/src/themes/buttonConst.js b/src/themes/buttonConst.js
index d6f2cb5..8fd3068 100644
--- a/src/themes/buttonConst.js
+++ b/src/themes/buttonConst.js
@@ -55,7 +55,7 @@ export const PNSPS_BUTTON_THEME = createTheme({
root: {
fontSize: '1.2rem',
fontWeight: '600',
- height: '40px',
+ height: '45px',
width: '40vw', // Default width for xs screen sizes
'@media (min-width: 600px)': { // sm breakpoint
width: '20vw',
@@ -64,10 +64,12 @@ export const PNSPS_BUTTON_THEME = createTheme({
width: '15vw',
},
'@media (min-width: 1280px)': { // lg breakpoint
- width: '7vw',
+ width: '9vw',
},
textTransform: "none",
- alignItems: 'center'
+ display: 'flex',
+ alignItems: 'center',
+ justifyContent: 'center',
},
},
},
@@ -106,7 +108,7 @@ export const PNSPS_LONG_BUTTON_THEME = createTheme({
contrastText: '#FFFFFF',
},
edit:{
- main: '#F3AF2B',
+ main: '#ffa733',
contrastText: '#FFFFFF',
},
exportExcel:{
@@ -129,7 +131,7 @@ export const PNSPS_LONG_BUTTON_THEME = createTheme({
root: {
fontSize: '1.2rem',
fontWeight: '600',
- height: '40px',
+ height: '45px',
width: '60vw', // Default width for xs screen sizes
'@media (min-width: 600px)': { // sm breakpoint
width: '33vw',
@@ -141,7 +143,9 @@ export const PNSPS_LONG_BUTTON_THEME = createTheme({
width: '16vw',
},
textTransform: "none",
- alignItems: 'center'
+ display: 'flex',
+ alignItems: 'center',
+ justifyContent: 'center',
},
},
},
diff --git a/src/themes/themeConst.js b/src/themes/themeConst.js
index 06c2b2b..c5f1631 100644
--- a/src/themes/themeConst.js
+++ b/src/themes/themeConst.js
@@ -366,6 +366,13 @@ export const PNSPS_THEME = createTheme({
overflow: 'visible'
}
}
+ },
+ MuiTabPanel:{
+ styleOverrides:{
+ root:{
+ padding: 0
+ }
+ }
}
},
});