This commit is contained in:
parent
f667667da3
commit
b89141679f
2 changed files with 3 additions and 1 deletions
|
|
@ -650,9 +650,10 @@ function _rerenderCachedModels() {
|
||||||
item.classList.add('doclib-card-expanded');
|
item.classList.add('doclib-card-expanded');
|
||||||
item.style.flexDirection = 'column';
|
item.style.flexDirection = 'column';
|
||||||
item.style.alignItems = 'stretch';
|
item.style.alignItems = 'stretch';
|
||||||
if (list) list.scrollTop = 0;
|
|
||||||
item.insertAdjacentHTML('beforeend', panelHtml);
|
item.insertAdjacentHTML('beforeend', panelHtml);
|
||||||
const panel = item.querySelector('.hwfit-serve-panel');
|
const panel = item.querySelector('.hwfit-serve-panel');
|
||||||
|
// Scroll the serve panel into view within its nearest scrollable ancestor
|
||||||
|
requestAnimationFrame(() => panel.scrollIntoView({ block: 'nearest', behavior: 'smooth' }));
|
||||||
|
|
||||||
// Build command preview
|
// Build command preview
|
||||||
function updateCmd() {
|
function updateCmd() {
|
||||||
|
|
|
||||||
|
|
@ -14873,6 +14873,7 @@ body.left-dock-active {
|
||||||
/* Cookbook's cached-model list should scale with viewport height, not be capped at 400px */
|
/* Cookbook's cached-model list should scale with viewport height, not be capped at 400px */
|
||||||
.hwfit-cached-list {
|
.hwfit-cached-list {
|
||||||
max-height: min(75vh, 900px) !important;
|
max-height: min(75vh, 900px) !important;
|
||||||
|
overflow-y: auto;
|
||||||
}
|
}
|
||||||
/* Drag-and-drop visual hint for the email compose pane. Subtle accent
|
/* Drag-and-drop visual hint for the email compose pane. Subtle accent
|
||||||
outline + tinted overlay so it's obvious files will attach if dropped. */
|
outline + tinted overlay so it's obvious files will attach if dropped. */
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue