This website works better with JavaScript.
Home
Explore
Help
Register
Sign In
gitlord
/
isleward
mirror of
https://gitlab.com/Isleward/isleward.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
203
Wiki
Activity
Browse Source
bug
#2015
: the context menu no longer extends over the window boundary
tags/v0.14.0^2
Shaun
3 months ago
parent
a314308a0f
commit
e61cd864e6
2 changed files
with
3 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-0
src/client/ui/templates/context/context.js
+1
-0
src/client/ui/templates/context/styles.less
+ 2
- 0
src/client/ui/templates/context/context.js
View File
@@ -68,6 +68,8 @@ define([
pos.top = e.detail.clientY;
}
pos['max-height'] = window.innerHeight - pos.top - 10;
this.el
.css(pos)
.show();
+ 1
- 0
src/client/ui/templates/context/styles.less
View File
@@ -11,6 +11,7 @@
color: @white;
text-align: center;
line-height: 15px;
overflow-y: auto;
.list {
width: 100%;
Write
Preview
Loading…
Cancel
Save