Fixed some more styling issues broken due to JSS changes. #7363

This commit is contained in:
Yogesh Mahajan 2024-06-20 17:18:38 +05:30 committed by GitHub
parent a60cbf00c8
commit 6410ae5f69
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 15 additions and 5 deletions

View File

@ -200,7 +200,7 @@ export default function jsonEditorOverride(theme) {
/* Set expand icon to none*/
'div.jsoneditor-tree button.jsoneditor-button:focus': {
backgroundColor: theme.palette.text.primary + ' !important',
backgroundColor: theme.palette.background.default + ' !important',
outline: 'none',
},
@ -252,7 +252,7 @@ export default function jsonEditorOverride(theme) {
},
'& .ace_marker-layer .ace_selected-word, & .ace_marker-layer .ace_selection': {
border: `1px solid ${theme.palette.primary.light}`,
backgroundColor: theme.otherVars.editor.selectionBg,
},
@ -302,13 +302,17 @@ export default function jsonEditorOverride(theme) {
fontFamily: theme.typography.fontFamily + ' !important',
fontSize: '.875rem !important',
fontWeight: 'bold',
backgroundColor: theme.palette.primary.main + ' !important',
color: theme.palette.text.primary,
backgroundColor: theme.palette.background.default + ' !important',
color: theme.palette.text.primary + ' !important',
borderBottom: `1px solid ${theme.otherVars.borderColor}`,
},
/* Body */
'.pico-content': {
backgroundColor: theme.palette.background.default + ' !important',
'& .pico-close':{
color: theme.palette.text.primary + ' !important',
}
},
/* Disable links */

View File

@ -20,7 +20,7 @@ const StyledTable = styled('table')(({theme})=>({
'& tbody td, & thead th': {
margin: 0,
padding: theme.spacing(0.5),
border: '1px solid '+theme.otherVars.borderColor,
border: '1px solid '+ theme.otherVars.borderColor,
borderBottom: 'none',
position: 'relative',
overflow: 'hidden',

View File

@ -45,6 +45,10 @@ const StyledBox = styled(Box)(({theme}) => ({
flexDirection: 'column',
height: '100%',
minHeight: 0,
'& .DebuggerArgument-schema': {
padding: 0 + ' !important',
backgroundColor: theme.palette.background.default,
}
},
'& .DebuggerArgument-footer': {
borderTop: `1px solid ${theme.otherVars.inputBorderColor} !important`,
@ -810,6 +814,7 @@ export default function DebuggerArgumentComponent({ debuggerInfo, restartDebug,
showFooter={false}
isTabView={false}
Notifier={pgAdmin.Browser.notifier}
formClassName='DebuggerArgument-schema'
onDataChange={(isChanged, changedData) => {
let isValid = false;
let skipStep = false;

View File

@ -82,6 +82,7 @@ const StyledBox = styled(Box)(({theme}) => ({
},
'&[aria-selected=true][aria-colindex="1"]': {
outlineWidth: 0,
backgroundColor: theme.palette.default.main + ' !important'
},
'& .ResultGridComponent-cellExpand': {
display: 'table',