fix(webui): fit session search above the mobile keyboard
This commit is contained in:
1 parent
fc729df9ab
commit
2442d88b91
6 files changed
+38
-21
No files matched your search
@@ -41,7 +41,12 @@ const DialogPositionedContent = React.forwardRef<
|
||||
placement?: "center" | "bottom";
|
||||
}
|
||||
>(({ positionerStyle, placement, ...props }, ref) => (
|
||||
<div className={cn("fixed inset-0 z-50 flex justify-center", placement === "bottom" ? "items-end" : "items-center p-4")} style={positionerStyle}>
|
||||
<div className={cn("fixed inset-0 z-50 flex justify-center", placement === "bottom" ? "items-end" : "items-center p-4")} style={{
|
||||
top: "var(--app-viewport-top, 0px)",
|
||||
height: "var(--app-viewport-height, 100%)",
|
||||
bottom: "auto",
|
||||
...positionerStyle,
|
||||
}}>
|
||||
<DialogPrimitive.Content ref={ref} {...props} />
|
||||
</div>
|
||||
));
|
||||
|
||||
Reference in new issue
Block a user