fix(core): adjust cmdk list scroll padding block (#4972)

This commit is contained in:
JimmFly 2023-11-20 10:39:45 +08:00 committed by GitHub
parent 134428f38d
commit f09c717413
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -129,6 +129,7 @@ globalStyle(`${root} [cmdk-list]`, {
height: 'min(330px, calc(var(--cmdk-list-height) + 8px))',
padding: '0 0 8px 6px',
scrollbarGutter: 'stable',
scrollPaddingBlock: '12px',
});
globalStyle(`${root} [cmdk-list]:not([data-opening])`, {