fix: `Page` header class in fixed mode (#5023)

pull/58/MERGE
Netfan 2024-12-04 22:56:06 +08:00 committed by GitHub
parent 845f2a2abd
commit db38ef522f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 3 additions and 1 deletions

View File

@ -99,7 +99,9 @@ onMounted(() => {
cn(
'bg-card relative px-6 py-4',
headerClass,
fixedHeader ? 'border-border border-b' : '',
fixedHeader
? 'border-border border-b transition-all duration-200'
: '',
)
"
:style="headerStyle"