Merge pull request #518 from kaalibro/fix/comfyui-extension
🐛 fix: ComfyUI extension canvas height (#516)pull/519/head
commit
e7f0854df6
File diff suppressed because one or more lines are too long
|
|
@ -18,7 +18,7 @@ import QuickSettingSidebar from '../features/QuickSettingSidebar';
|
|||
import Share from '../features/Share';
|
||||
import { useStyles } from './style';
|
||||
|
||||
const HEADER_HEIGHT = 64;
|
||||
export const HEADER_HEIGHT = 64;
|
||||
|
||||
const Index = memo(() => {
|
||||
const setting = useAppStore(selectors.currentSetting, isEqual);
|
||||
|
|
|
|||
|
|
@ -1,5 +1,7 @@
|
|||
import { Theme, css } from 'antd-style';
|
||||
|
||||
import { HEADER_HEIGHT } from '../../app/index';
|
||||
|
||||
export default (token: Theme) => {
|
||||
return css`
|
||||
#root {
|
||||
|
|
@ -195,6 +197,11 @@ export default (token: Theme) => {
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
/* ComfyUI */
|
||||
#comfyui_webui_container {
|
||||
height: calc(100% - ${HEADER_HEIGHT}px) !important;
|
||||
}
|
||||
}
|
||||
`;
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in New Issue