mirror of
https://github.com/open-webui/open-webui.git
synced 2026-11-14 09:21:22 +00:00
fix: tab content no longer slides under the tab bar at a higher UI scale (#33830)
This commit is contained in:
parent
d8dcb82cde
commit
03361c9680
1 changed files with 1 additions and 1 deletions
|
|
@ -129,7 +129,7 @@
|
|||
|
||||
let tabs = emptyTabs();
|
||||
const paneStyle = (rect: PanelRect, header = 0) =>
|
||||
`position:absolute;left:${rect.left * 100}%;top:calc(100% * ${rect.top} + ${header}px);width:${rect.width * 100}%;height:calc(100% * ${rect.height} - ${header}px);`;
|
||||
`position:absolute;left:${rect.left * 100}%;top:calc(100% * ${rect.top} + ${header}px * var(--app-text-scale, 1));width:${rect.width * 100}%;height:calc(100% * ${rect.height} - ${header}px * var(--app-text-scale, 1));`;
|
||||
const focusGroup = (id: string) => {
|
||||
const group = tabs.groups.find((group) => group.id === id);
|
||||
if (group?.activeId) tabs = activateTab(tabs, group.activeId);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue