@@ -40,9 +40,6 @@ export const SubscriptionLimitBanner = () => {
4040 const newValue = ! alwaysALaCarte
4141 setAlwaysALaCarteState ( newValue )
4242 setAlwaysUseALaCarte ( newValue )
43- if ( newValue ) {
44- setInputMode ( 'default' )
45- }
4643 }
4744
4845 if ( ! subscriptionData ) {
@@ -123,10 +120,7 @@ export const SubscriptionLimitBanner = () => {
123120 ) : isBlockExhausted ? (
124121 < >
125122 < text style = { { fg : theme . warning } } >
126- ⏱️ Block limit reached
127- </ text >
128- < text style = { { fg : theme . muted } } >
129- You've used all { rateLimit . blockLimit ?. toLocaleString ( ) } credits in this 5-hour block.
123+ ⏱️ 5 hour limit reached
130124 </ text >
131125 { blockResetsAt && (
132126 < text style = { { fg : theme . muted } } >
@@ -158,28 +152,31 @@ export const SubscriptionLimitBanner = () => {
158152 { hasAlaCarteCredits ? (
159153 < >
160154 < Button onClick = { handleContinueWithCredits } >
161- < text style = { { fg : theme . foreground } } >
162- [Continue with a-la-carte] ({ remainingBalance . toLocaleString ( ) } available)
155+ < text style = { { fg : theme . background , bg : theme . foreground } } >
156+ { ' ' } Continue with a-la-carte{ ' ' }
157+ </ text >
158+ < text style = { { fg : theme . muted } } >
159+ { ' ' } ({ remainingBalance . toLocaleString ( ) } credits)
163160 </ text >
164161 </ Button >
165162 { isWeeklyLimit ? (
166163 < Button onClick = { handleBuyCredits } >
167- < text style = { { fg : theme . muted } } > [ Buy Credits] </ text >
164+ < text style = { { fg : theme . background , bg : theme . muted } } > { ' ' } Buy Credits{ ' ' } </ text >
168165 </ Button >
169166 ) : (
170167 < Button onClick = { handleWait } >
171- < text style = { { fg : theme . muted } } > [ Wait for new block] </ text >
168+ < text style = { { fg : theme . background , bg : theme . muted } } > { ' ' } Wait for new block{ ' ' } </ text >
172169 </ Button >
173170 ) }
174171 </ >
175172 ) : (
176173 < >
177174 < text style = { { fg : theme . muted } } > No a-la-carte credits available.</ text >
178175 < Button onClick = { handleBuyCredits } >
179- < text style = { { fg : theme . foreground } } > [ Buy Credits] </ text >
176+ < text style = { { fg : theme . background , bg : theme . foreground } } > { ' ' } Buy Credits{ ' ' } </ text >
180177 </ Button >
181178 < Button onClick = { handleWait } >
182- < text style = { { fg : theme . muted } } > [ Wait] </ text >
179+ < text style = { { fg : theme . background , bg : theme . muted } } > { ' ' } Wait{ ' ' } </ text >
183180 </ Button >
184181 </ >
185182 ) }
0 commit comments