mirror of
https://github.com/ONLYOFFICE/web-apps.git
synced 2026-02-10 18:05:32 +08:00
Fix tooltip positioning for left edge
This commit is contained in:
@ -213,6 +213,9 @@ define([
|
||||
var width = this.cmpEl.width();
|
||||
if (left+width>Common.Utils.innerWidth())
|
||||
left = Common.Utils.innerWidth() - width - 10;
|
||||
if (left < 10)
|
||||
left = 10;
|
||||
|
||||
left = (left + 'px');
|
||||
} else
|
||||
left = 'auto';
|
||||
|
||||
Reference in New Issue
Block a user