Skip to content

Commit

Permalink
Converted to template.
Browse files Browse the repository at this point in the history
  • Loading branch information
dlabaj committed Jul 24, 2024
1 parent e8dcc0e commit 1b0e5ce
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 15 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,13 @@ const useStyles = createUseStyles({
display: 'grid',
gridTemplateAreas:
`'actions-main actions-extra' + 'main main'`,
rowGap: 'var(--pf-v6-global--spacer--md)'
rowGap: 'var(--pf-t--global--spacer--md'
},
consoleActions: {
gridArea: 'actions-main',
display: 'flex',
'> div': {
marginRight: 'var(--pf-v6-global--spacer--sm)'
marginRight: 'var(--pf-t--global--spacer--sm)'
}
}
});
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ const useStyles = createUseStyles({
consoleDesktopViewer: {
gridArea: 'main',
display: 'grid',
gap: 'var(--pf-v6-global--spacer--md)',
gap: 'var(--pf-t--global--spacer--md)',
gridTemplateColumns: 'repeat(auto-fit, minmax(20rem, 1fr))'
}

Expand Down
2 changes: 1 addition & 1 deletion packages/module/src/components/VncConsole/VncActions.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ const useStyles = createUseStyles({
display: 'flex',
flexWrap: 'wrap',
justifyContent: 'flex-end',
columnGap: 'var(--pf-v6-global--spacer--sm)'
columnGap: 'var(--pf-t--global--spacer--sm'
}
});

Expand Down
22 changes: 11 additions & 11 deletions packages/module/src/components/VncConsole/VncConsole.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,17 +15,17 @@ import { createUseStyles } from 'react-jss';
const { CONNECTED, CONNECTING, DISCONNECTED } = constants;

const useStyles = createUseStyles({
consoleVnc: {
gridArea: 'main'
},
consoleActionsVnc: {
gridArea: 'actions-extra',
display: 'flex',
flexWrap: 'wrap',
justifyContent: 'flex-end',
columnGap: 'var(--pf-v6-global--spacer--sm)'
}
});
consoleVnc: {
gridArea: 'main'
},
consoleActionsVnc: {
gridArea: 'actions-extra',
display: 'flex',
flexWrap: 'wrap',
justifyContent: 'flex-end',
columnGap: 'var(--pf-t--global--spacer--sm)'
}
});

export interface VncConsoleProps extends React.HTMLProps<HTMLDivElement> {
/** Children nodes */
Expand Down

0 comments on commit 1b0e5ce

Please sign in to comment.