mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-19 15:55:20 +00:00
refac: styling
This commit is contained in:
parent
41cabf5a2c
commit
c611734088
1 changed files with 1 additions and 1 deletions
|
|
@ -56,7 +56,7 @@
|
||||||
|
|
||||||
// Calculate space available on the right
|
// Calculate space available on the right
|
||||||
const spaceOnRight = parentRect.width - left;
|
const spaceOnRight = parentRect.width - left;
|
||||||
let halfScreenWidth = window.innerWidth / 2;
|
let halfScreenWidth = $mobile ? window.innerWidth / 2 : window.innerWidth / 3;
|
||||||
|
|
||||||
if (spaceOnRight < halfScreenWidth) {
|
if (spaceOnRight < halfScreenWidth) {
|
||||||
const right = parentRect.right - rect.right;
|
const right = parentRect.right - rect.right;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue