Skip to content

Commit 764d21f

Browse files
committed
chore: update
1 parent d002e2e commit 764d21f

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

packages/devframe/src/recipes/interactive-auth.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,11 +105,11 @@ export function createAuthBanner(options: CreateAuthBannerOptions = {}): AuthBan
105105
}
106106
const labelWidth = Math.max(...rows.map(([label]) => label.length))
107107
const contentWidth = Math.max(...rows.map(([, value]) => labelWidth + 2 + value.length))
108-
const titleBarLength = title.length + 3
108+
const titleBarLength = title.length + 2
109109
const lineWidth = Math.max(contentWidth, titleBarLength - 2)
110110

111111
const top = [
112-
palette.border(`╭`),
112+
palette.border(`╭`),
113113
palette.title(title),
114114
palette.border(`${'─'.repeat(Math.max(lineWidth + 2 - titleBarLength, 0))}╮`),
115115
].join(' ')

0 commit comments

Comments
 (0)