Skip to content

Commit ba556cf

Browse files
committed
refactor: remove redundant whitespace-nowrap classes
- Removed redundant whitespace-nowrap classes from buttons in CheckpointMenu - These classes are already included in the base buttonVariants definition - Addresses reviewer feedback for code quality improvement
1 parent 1865268 commit ba556cf

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

webview-ui/src/components/chat/checkpoints/CheckpointMenu.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,6 @@ export const CheckpointMenu = ({ ts, commitHash, checkpoint, onOpenChange }: Che
177177
<div className="flex flex-col gap-2">
178178
<Button
179179
variant="secondary"
180-
className="whitespace-nowrap"
181180
onClick={() => {
182181
onDiffFromInit()
183182
setMoreOpen(false)
@@ -187,7 +186,6 @@ export const CheckpointMenu = ({ ts, commitHash, checkpoint, onOpenChange }: Che
187186
</Button>
188187
<Button
189188
variant="secondary"
190-
className="whitespace-nowrap"
191189
onClick={() => {
192190
onDiffWithCurrent()
193191
setMoreOpen(false)

0 commit comments

Comments
 (0)