Fix Vision list hover layout shift — use visibility instead of display for remove button
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
+2
-2
@@ -396,8 +396,8 @@ window.dispatchEvent(new Event('tiptap-loaded'));
|
|||||||
.list-item-desc-preview p:last-child { margin-bottom: 0; }
|
.list-item-desc-preview p:last-child { margin-bottom: 0; }
|
||||||
|
|
||||||
.list-item-text { flex: 1; }
|
.list-item-text { flex: 1; }
|
||||||
.list-item-remove { display: none; cursor: pointer; color: var(--text-hint); font-size: 14px; margin-left: 8px; }
|
.list-item-remove { visibility: hidden; cursor: pointer; color: var(--text-hint); font-size: 14px; margin-left: 8px; flex-shrink: 0; }
|
||||||
.list-item:hover .list-item-remove { display: inline; }
|
.list-item:hover .list-item-remove { visibility: visible; }
|
||||||
.list-item-remove:hover { color: #8b3030; }
|
.list-item-remove:hover { color: #8b3030; }
|
||||||
.list-add { padding: 6px 0; font-size: 14px; color: var(--text-hint); cursor: pointer; display: flex; align-items: center; gap: 6px; }
|
.list-add { padding: 6px 0; font-size: 14px; color: var(--text-hint); cursor: pointer; display: flex; align-items: center; gap: 6px; }
|
||||||
.list-add:hover { color: var(--accent); }
|
.list-add:hover { color: var(--accent); }
|
||||||
|
|||||||
Reference in New Issue
Block a user