fix: reduce embed tab flash with persistent pane show/hide

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
dekun
2026-07-07 10:53:42 +08:00
parent 86188e6611
commit 444088baf3
3 changed files with 82 additions and 41 deletions
+2 -2
View File
@@ -236,5 +236,5 @@
.stats-period-block:last-child{border-bottom:none;margin-bottom:0;padding-bottom:0}
.stats-period-block h3{font-size:1rem;color:#dbe4ff;margin-bottom:4px}
.stats-period-block .sub{font-size:.78rem;color:#8892b0;margin-bottom:10px;line-height:1.4}
#embed-page-root{transition:opacity .12s ease}
#embed-page-root.is-embed-tab-loading{opacity:.55;pointer-events:none}
#embed-page-root{min-height:120px;position:relative}
.embed-tab-pane[hidden]{display:none!important}