Skip to content

Commit d9b8a21

Browse files
zachelnetDeepSeek V4
andcommitted
fix(ui): add max-h-60 to layout tab, remove inputMode=decimal from rotation
- Layout TabsContent now matches Layers tab with max-h-60, preventing unbounded growth that pushes work tabs off-screen. - Rotation Input no longer sets inputMode='decimal', which blocked the minus sign on mobile keyboards and prevented entering negative angles. Co-authored-by: DeepSeek V4 <deepseek@v4.ai>
1 parent 09713ab commit d9b8a21

2 files changed

Lines changed: 1 addition & 2 deletions

File tree

ui/components/Panels.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ export function Panels() {
5454

5555
<TabsContent
5656
value='layout'
57-
className='overflow-y-auto px-2 pb-2 data-[state=inactive]:hidden'
57+
className='overflow-y-auto max-h-60 px-2 pb-2 data-[state=inactive]:hidden'
5858
data-testid='panels-layout'
5959
>
6060
<div className='pt-1'>

ui/components/panels/RenderControlsPanel.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -843,7 +843,6 @@ export function RenderControlsPanel() {
843843
type='number'
844844
min={String(MIN_ROTATION_DEG)}
845845
max={String(MAX_ROTATION_DEG)}
846-
inputMode='decimal'
847846
className='h-7 w-14 min-w-0 [appearance:textfield] rounded-none border-0 px-1 text-center text-xs shadow-none focus-visible:ring-0 [&::-webkit-inner-spin-button]:appearance-none [&::-webkit-outer-spin-button]:appearance-none'
848847
data-testid='render-rotation-input'
849848
disabled={!selectedNode}

0 commit comments

Comments
 (0)