Basic post preview

This commit is contained in:
2025-01-04 00:37:26 +08:00
parent a56f098413
commit 02ccbdac71
7 changed files with 254 additions and 9 deletions

View File

@@ -41,7 +41,7 @@ function ElevationScroll(props: ElevationAppBarProps) {
? React.cloneElement(props.children, {
elevation: trigger ? props.elevation : 0,
sx: trigger
? { backgroundColor: props.color, ...commonStyle }
? { backgroundColor: props.color, color: 'black', ...commonStyle }
: { backgroundColor: 'transparent', ...commonStyle },
})
: null