Skip to content

Commit

Permalink
fix: smaller fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
flornkm committed Apr 14, 2024
1 parent dd54d13 commit 936bc83
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
2 changes: 1 addition & 1 deletion interface/sections/FileSystem.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ export default function FileSystem(props: {
<a
href={tab.path}
class={
"underline-offset-2 font-medium group pl-2 w-full flex items-center justify-between py-1 " +
"underline-offset-2 font-medium group pl-4 w-full flex items-center justify-between py-1 " +
(urlPathname === tab.path
? ""
: "text-neutral-400 dark:text-neutral-500")
Expand Down
2 changes: 1 addition & 1 deletion interface/sections/Letters.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ export default function Letters() {
)
}}
class={
"absolute -top-12 aspect-square right-4 w-9 h-9 p-1.5 rounded-md flex items-center justify-center z-50 bg-amber-400 hover:bg-amber-300 dark:hover:bg-amber-500 transition-all " +
"absolute -top-11 aspect-square right-4 w-9 h-9 p-1.5 rounded-md flex items-center justify-center z-50 bg-amber-400 hover:bg-amber-300 dark:hover:bg-amber-500 transition-all " +
(zoom === letterArray.indexOf(letter)
? "opacity-100 pointer-events-auto"
: "opacity-0 pointer-events-none")
Expand Down
7 changes: 7 additions & 0 deletions pages/ai/+Page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -261,6 +261,10 @@ const Introduction = ({ focusChat }: { focusChat?: () => void }) => {
const [secret, setSecret] = useState<string>("")
const [error, setError] = useState<string>("")

const image = useMemo(() => {
return "/images/avatars/florian_student.webp"
}, [])

const tooNarrow = useMemo(() => {
if (typeof window !== "undefined" && window.innerHeight < 850) {
return true
Expand Down Expand Up @@ -324,6 +328,9 @@ const Introduction = ({ focusChat }: { focusChat?: () => void }) => {
}
>
<img
onLoad={(e) => {
console.log("test")
}}
src="/images/avatars/florian_student.webp"
class={
"aspect-square rounded-full transition-all duration-500 object-cover bg-neutral-200 dark:bg-neutral-800 " +
Expand Down

0 comments on commit 936bc83

Please sign in to comment.