Skip to content

Commit

Permalink
refactor: resize ArchIcon and adjust CommandInput width
Browse files Browse the repository at this point in the history
  • Loading branch information
Famozzy committed Nov 28, 2024
1 parent 8a6beb2 commit 6b8383d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions src/components/ui/command-input.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { useSetAtom } from 'jotai'
import { ioStreamsAtom } from '@/app/store'
import { Help, WhoAmI, Contact, NotFound, Powerlevel, Projects } from '@/components'
import { Contact, Help, NotFound, Powerlevel, Projects, WhoAmI } from '@/components'
import { useSetAtom } from 'jotai'

type Command = {
[key: string]: React.ReactNode
Expand Down Expand Up @@ -34,7 +34,7 @@ export const CommandInput = () => {
return (
<>
<Powerlevel />
<input onKeyDown={onKeyPress} type="text" autoFocus aria-label="cmd-input" />
<input className="w-1/3" onKeyDown={onKeyPress} type="text" autoFocus aria-label="cmd-input" />
</>
)
}
Expand Down
4 changes: 2 additions & 2 deletions src/components/ui/powerlevel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ const hostname = getRandomHostname()
const ArchIcon = () => (
<svg
fill="#86e1fc"
width="12px"
height="12px"
width="10px"
height="10px"
viewBox="0 0 14 14"
role="img"
focusable="false"
Expand Down

0 comments on commit 6b8383d

Please sign in to comment.