mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-12 12:28:42 +00:00
fix(electron): fix tab view blink issue on open new tab (#7748)
fix AF-1197
This commit is contained in:
16
packages/frontend/electron/renderer/shell/index.css
Normal file
16
packages/frontend/electron/renderer/shell/index.css
Normal file
@@ -0,0 +1,16 @@
|
||||
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;
|
||||
}
|
||||
Reference in New Issue
Block a user