File tree Expand file tree Collapse file tree 3 files changed +125
-731
lines changed
apps/phoure-www/src/components Expand file tree Collapse file tree 3 files changed +125
-731
lines changed Original file line number Diff line number Diff line change @@ -41,6 +41,7 @@ import {
4141 SidebarGroupLabel ,
4242} from 'src/components/ui/sidebar' ;
4343import { Slider } from 'src/components/ui/slider' ;
44+ import { Separator } from './ui/separator' ;
4445
4546function ControlLabel ( props : { htmlFor : string ; children : string } ) {
4647 return (
@@ -74,7 +75,7 @@ function SliderControl(
7475
7576 return (
7677 < >
77- < div className = "px-4 my-2 " >
78+ < div className = "px-4 mt-2 mb-4 " >
7879 < ControlLabel htmlFor = { id } > { label } </ ControlLabel >
7980 < div className = "flex justify-self-stretch gap-2" >
8081 < Slider
@@ -213,6 +214,7 @@ export function ControlsSidebar() {
213214 < DisplayModeControl />
214215 < TargetResolutionControl />
215216 </ ControlGroup >
217+ < Separator />
216218 < ControlGroup label = "Time" >
217219 < CheckboxControl
218220 label = "Fixed timestep"
@@ -226,6 +228,7 @@ export function ControlsSidebar() {
226228 max = { 2 }
227229 />
228230 </ ControlGroup >
231+ < Separator />
229232 < ControlGroup label = "Camera" >
230233 < SliderControl
231234 label = "Up/down position"
Original file line number Diff line number Diff line change 1- import * as SeparatorPrimitive from '@radix-ui/react-separator' ;
21import * as React from 'react' ;
2+ import * as SeparatorPrimitive from '@radix-ui/react-separator' ;
33
4- import { cn } from 'src/lib/utils.ts ' ;
4+ import { cn } from 'src/lib/utils' ;
55
66const Separator = React . forwardRef <
77 React . ElementRef < typeof SeparatorPrimitive . Root > ,
You can’t perform that action at this time.
0 commit comments