Skip to content

Commit a8f63c9

Browse files
author
Sharma
committed
Style fix in WSS portal
1 parent 6dfeaf2 commit a8f63c9

File tree

2 files changed

+19
-20
lines changed

2 files changed

+19
-20
lines changed

packages/react-sdk-components/src/components/designSystemExtension/RichTextEditor/RichTextEditor.tsx

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -91,25 +91,25 @@ const RichTextEditor = forwardRef(function RichTextEditor(props: RichTextEditorP
9191
skin: 'oxide-dark', // or 'oxide' for light theme
9292
// ...other TinyMCE config...
9393
content_style: `
94-
body {
95-
font-family: ${theme.typography.fontFamily};
96-
font-size: ${theme.typography.fontSize}px;
97-
color: ${theme.palette.text.primary};
98-
background: ${theme.palette.background.paper};
94+
body {
95+
font-family: ${theme.typography.fontFamily};
96+
font-size: ${theme.typography.fontSize}px;
97+
color: ${theme.palette.text.primary};
98+
background: ${theme.palette.background.paper};
99+
}
100+
a { color: ${theme.palette.primary.main}; }
101+
h1, h2, h3, h4, h5, h6 { color: ${theme.palette.text.primary}; font-family: ${theme.typography.fontFamily}; }
102+
blockquote { color: ${theme.palette.text.secondary}; border-left: 4px solid ${theme.palette.primary.light}; padding-left: 8px; }
103+
ul, ol { color: ${theme.palette.text.primary}; }
104+
input, textarea, select {
105+
background: ${theme.palette.background.paper};
106+
color: ${theme.palette.text.primary};
107+
border: 1px solid ${theme.palette.divider};
108+
border-radius: 4px;
109+
padding: 6px 10px;
110+
font-size: 1em;
111+
font-family: inherit;
99112
}
100-
a { color: ${theme.palette.primary.main}; }
101-
h1, h2, h3, h4, h5, h6 { color: ${theme.palette.text.primary}; font-family: ${theme.typography.fontFamily}; }
102-
blockquote { color: ${theme.palette.text.secondary}; border-left: 4px solid ${theme.palette.primary.light}; padding-left: 8px; }
103-
ul, ol { color: ${theme.palette.text.primary}; }
104-
input, textarea, select {
105-
background: ${theme.palette.background.paper};
106-
color: ${theme.palette.text.primary};
107-
border: 1px solid ${theme.palette.divider};
108-
border-radius: 4px;
109-
padding: 6px 10px;
110-
font-size: 1em;
111-
font-family: inherit;
112-
}
113113
/* Add more styles as needed */
114114
`,
115115
placeholder,

packages/react-sdk-components/src/components/template/AppShell/AppShell.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@ interface AppShellProps extends PConnProps {
3030

3131
const useStyles = makeStyles(theme => ({
3232
root: {
33-
// display: 'flex',
3433
backgroundColor: theme.backgroundColor
3534
},
3635
content: {
@@ -242,7 +241,7 @@ export default function AppShell(props: PropsWithChildren<AppShellProps>) {
242241
return (
243242
// eslint-disable-next-line react/jsx-no-constructed-context-values
244243
<NavContext.Provider value={{ open, setOpen }}>
245-
<div id='AppShell' className={classes.root}>
244+
<div id='AppShell' className={classes.root} style={{ display: 'flex' }}>
246245
<NavBar
247246
getPConnect={getPConnect}
248247
pConn={getPConnect()}

0 commit comments

Comments
 (0)