mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Fixed following: - Dropdown selected menu color - CodeMirror render on properties tab - Placeholders on select control - Codemirror borders
This commit is contained in:
committed by
Akshay Joshi
parent
c35c72c551
commit
27e446a0b0
@@ -31,7 +31,7 @@ const useStyles = makeStyles((theme)=>({
|
||||
height: '100%'
|
||||
},
|
||||
controlRow: {
|
||||
paddingBottom: theme.spacing(1),
|
||||
marginBottom: theme.spacing(1),
|
||||
},
|
||||
nestedTabPanel: {
|
||||
backgroundColor: theme.otherVars.headerBg,
|
||||
@@ -62,7 +62,6 @@ function SQLTab({active, getSQLValue}) {
|
||||
options={{
|
||||
readOnly: true,
|
||||
}}
|
||||
isAsync={true}
|
||||
readonly={true}
|
||||
/>;
|
||||
}
|
||||
@@ -314,7 +313,7 @@ export default function FormView({
|
||||
sqlTabActive = (Object.keys(tabs).length === tabValue);
|
||||
/* Re-render and fetch the SQL tab when it is active */
|
||||
tabs[sqlTabName] = [
|
||||
useMemo(()=><SQLTab key="sqltab" active={sqlTabActive} getSQLValue={getSQLValue} />, [sqlTabActive]),
|
||||
useMemo(()=><SQLTab key="sqltab" active={sqlTabActive} getSQLValue={getSQLValue} />, [sqlTabActive, value]),
|
||||
];
|
||||
tabsClassname[sqlTabName] = classes.fullSpace;
|
||||
fullTabs.push(sqlTabName);
|
||||
|
||||
Reference in New Issue
Block a user