Skip to content

Commit 306fc05

Browse files
committed
fix: project avatar border radius
1 parent 9d8d0e9 commit 306fc05

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

packages/app/src/pages/layout.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -821,13 +821,13 @@ export default function Layout(props: ParentProps) {
821821
const opencode = "4b0ea68d7af9a6031a7ffda7ad66e0cb83315750"
822822

823823
return (
824-
<div class={`relative size-8 shrink-0 rounded-sm ${props.class ?? ""}`}>
825-
<div class="size-full rounded-sm overflow-clip">
824+
<div class={`relative size-8 shrink-0 rounded ${props.class ?? ""}`}>
825+
<div class="size-full rounded overflow-clip">
826826
<Avatar
827827
fallback={name()}
828828
src={props.project.id === opencode ? "https://opencode.ai/favicon.svg" : props.project.icon?.url}
829829
{...getAvatarColors(props.project.icon?.color)}
830-
class="size-full rounded-sm"
830+
class="size-full rounded"
831831
style={
832832
notifications().length > 0 && props.notify
833833
? { "-webkit-mask-image": mask, "mask-image": mask }
@@ -982,7 +982,7 @@ export default function Layout(props: ParentProps) {
982982
<button
983983
type="button"
984984
classList={{
985-
"flex items-center justify-center size-10 p-1 rounded-md border transition-colors cursor-default": true,
985+
"flex items-center justify-center size-10 p-1 rounded-lg border transition-colors cursor-default": true,
986986
"bg-transparent border-icon-strong-base hover:bg-surface-base-hover": selected(),
987987
"bg-transparent border-transparent hover:bg-surface-base-hover hover:border-border-weak-base": !selected(),
988988
}}

0 commit comments

Comments
 (0)