fix: onboarding stage not shown (#7782)

fix AF-1199
This commit is contained in:
pengx17 2024-08-08 03:58:11 +00:00
parent 025abc6169
commit f62d30527b
No known key found for this signature in database
GPG Key ID: 23F23D9E8B3971ED
3 changed files with 2 additions and 18 deletions

View File

@ -1,16 +0,0 @@
html,
html[data-active='false'] {
opacity: 0;
}
html[data-active='false'] {
transition: opacity 0.01s 0.2s;
}
html[data-active='false'] * {
-webkit-app-region: no-drag !important;
}
html[data-active='true'] {
opacity: 1;
}

View File

@ -2,7 +2,6 @@ import 'setimmediate';
import '@affine/component/theme/global.css'; import '@affine/component/theme/global.css';
import '@affine/component/theme/theme.css'; import '@affine/component/theme/theme.css';
import '@affine/core/bootstrap/preload'; import '@affine/core/bootstrap/preload';
import './index.css';
import { ThemeProvider } from '@affine/component/theme-provider'; import { ThemeProvider } from '@affine/component/theme-provider';
import { configureAppTabsHeaderModule } from '@affine/core/modules/app-tabs-header'; import { configureAppTabsHeaderModule } from '@affine/core/modules/app-tabs-header';

View File

@ -329,7 +329,8 @@ export const createConfiguration: (
IN_CI ? null : new webpack.ProgressPlugin({ percentBy: 'entries' }), IN_CI ? null : new webpack.ProgressPlugin({ percentBy: 'entries' }),
buildFlags.mode === 'development' buildFlags.mode === 'development'
? new ReactRefreshWebpackPlugin({ overlay: false, esModule: true }) ? new ReactRefreshWebpackPlugin({ overlay: false, esModule: true })
: new MiniCssExtractPlugin({ : // todo: support multiple entry points
new MiniCssExtractPlugin({
filename: `[name].[contenthash:8].css`, filename: `[name].[contenthash:8].css`,
ignoreOrder: true, ignoreOrder: true,
}), }),