Fix ultrathink frame border clipping by matching padding to ring thickness
The ::before pseudo-element creates a 2px ring via the mask technique, but the wrapper had only 1px padding (p-px). This caused the inner half of the ring to be covered by the relatively-positioned glass surface. Change p-px to p-0.5 (2px) to align with: - The 2px ring thickness in ::before's padding - The 2px radius difference (22px outer vs 20px inner)
This commit is contained in:
1 file changed
+1
-1
@@ -2049,7 +2049,7 @@ export const ChatComposer = memo(function ChatComposer(props: ChatComposerProps)
|
||||
>
|
||||
<div
|
||||
className={cn(
|
||||
"group rounded-[22px] p-px transition-colors duration-200",
|
||||
"group rounded-[22px] p-0.5 transition-colors duration-200",
|
||||
composerProviderState.composerFrameClassName,
|
||||
)}
|
||||
onDragEnter={onComposerDragEnter}
|
||||
|
||||
Reference in new issue
Block a user