mirror of
https://github.com/toeverything/AFFiNE.git
synced 2024-12-24 05:22:12 +03:00
parent
025abc6169
commit
f62d30527b
@ -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;
|
|
||||||
}
|
|
@ -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';
|
||||||
|
@ -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,
|
||||||
}),
|
}),
|
||||||
|
Loading…
Reference in New Issue
Block a user