Merge pull request #1896 from benphelps/fix/issue-1894

Fix: cardBlur with boxedWidgets shrinks search widget
pull/1902/head
shamoon 1 year ago committed by GitHub
commit 96e8882fb5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -9,7 +9,10 @@ export function getAllClasses(options, additionalClassNames = '') {
if (options?.style?.header === "boxedWidgets") { if (options?.style?.header === "boxedWidgets") {
if (options?.style?.cardBlur !== undefined) { if (options?.style?.cardBlur !== undefined) {
// eslint-disable-next-line no-param-reassign // eslint-disable-next-line no-param-reassign
additionalClassNames = additionalClassNames.concat(additionalClassNames, ` backdrop-blur${options.style.cardBlur.length ? '-' : ""}${options.style.cardBlur}`) additionalClassNames = [
additionalClassNames,
`backdrop-blur${options.style.cardBlur.length ? '-' : ""}${options.style.cardBlur}`
].join(' ')
} }
return classNames( return classNames(

Loading…
Cancel
Save