mirror of
https://github.com/pbakaus/impeccable.git
synced 2026-09-20 01:56:37 +03:00
[codex] Improve detector false positive handling (#232)
* Improve detector false positive handling * Register docs integrity test * Fix clipped overflow decorative skip
This commit is contained in:
@@ -339,7 +339,6 @@ export function initLiveDemo() {
|
||||
|
||||
/** Collapsed page-chat pill on marketing gbars — mirrors live-browser.js expand UX. */
|
||||
export function initGbarPageChat() {
|
||||
const EASE = 'cubic-bezier(0.22, 1, 0.36, 1)';
|
||||
document.querySelectorAll('[data-demo-gbar-chat]').forEach((chat) => {
|
||||
const input = chat.querySelector('.live-demo-gbar-chat-input');
|
||||
const hint = chat.querySelector('.live-demo-gbar-chat-hint');
|
||||
@@ -371,8 +370,6 @@ export function initGbarPageChat() {
|
||||
}
|
||||
};
|
||||
|
||||
chat.style.transition = `width 0.28s ${EASE}, border-color 0.15s ease`;
|
||||
|
||||
input.addEventListener('input', syncVisual);
|
||||
|
||||
chat.addEventListener('click', (e) => {
|
||||
|
||||
@@ -1202,9 +1202,7 @@
|
||||
overflow: hidden;
|
||||
cursor: pointer;
|
||||
flex-shrink: 0;
|
||||
transition:
|
||||
width 0.28s cubic-bezier(0.22, 1, 0.36, 1),
|
||||
border-color 0.15s ease;
|
||||
transition: border-color 0.15s ease;
|
||||
}
|
||||
|
||||
.home-kinpaku .live-demo-gbar-chat.is-expanded,
|
||||
|
||||
@@ -174,7 +174,7 @@
|
||||
border-radius: 8px;
|
||||
pointer-events: none;
|
||||
opacity: 0;
|
||||
transition: opacity 200ms var(--ease-out), top 320ms var(--ease-out), left 320ms var(--ease-out), width 320ms var(--ease-out), height 320ms var(--ease-out);
|
||||
transition: opacity 200ms var(--ease-out);
|
||||
box-shadow: 0 0 0 4px var(--color-accent-dim);
|
||||
}
|
||||
.live-demo-outline.is-visible {
|
||||
@@ -323,10 +323,7 @@
|
||||
opacity: 0;
|
||||
margin-left: 0;
|
||||
overflow: hidden;
|
||||
transition:
|
||||
max-width 0.25s cubic-bezier(0.22, 1, 0.36, 1),
|
||||
opacity 0.2s ease,
|
||||
margin-left 0.25s cubic-bezier(0.22, 1, 0.36, 1);
|
||||
transition: opacity 0.2s ease;
|
||||
}
|
||||
.live-demo-gbar-btn-label--mono {
|
||||
font-family: var(--font-mono);
|
||||
@@ -857,4 +854,3 @@
|
||||
font-size: 12px;
|
||||
margin-top: 6px;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user