Refactor(css): Change all less to module mode

This commit is contained in:
2024-10-17 20:26:06 +08:00
parent 3d77dc793b
commit b7c3fb8524
111 changed files with 962 additions and 858 deletions

View File

@@ -1,6 +1,6 @@
import Draggable from 'react-draggable'
import Icon from '@ant-design/icons'
import '@/assets/css/pages/system/tools/code.less'
import styles from '@/assets/css/pages/system/tools/code.module.less'
import { DATABASE_NO_RECORD_FOUND, DATABASE_SELECT_SUCCESS } from '@/constants/common.constants'
import { checkDesktop } from '@/util/common'
import { navigateToExecute, navigateToRepository } from '@/util/navigation'
@@ -81,8 +81,8 @@ const Code = () => {
return (
<>
<FitFullscreen data-component={'system-tools-code'}>
<Card>
<FitFullscreen className={styles.root}>
<Card className={styles.rootBox}>
<Playground.CodeEditor
readonly
files={files}
@@ -93,7 +93,7 @@ const Code = () => {
</Card>
<Draggable bounds={'#root'}>
<div className={'draggable-content'}>
<div className={styles.draggableContent}>
<AntdFloatButton
type={'primary'}
icon={<Icon component={IconOxygenExecute} />}