소스 검색

bug #2015: the context menu no longer extends over the window boundary

tags/v0.14.0^2
Shaun 3 달 전
부모
커밋
e61cd864e6
2개의 변경된 파일3개의 추가작업 그리고 0개의 파일을 삭제
  1. +2
    -0
      src/client/ui/templates/context/context.js
  2. +1
    -0
      src/client/ui/templates/context/styles.less

+ 2
- 0
src/client/ui/templates/context/context.js 파일 보기

@@ -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 파일 보기

@@ -11,6 +11,7 @@
color: @white;
text-align: center;
line-height: 15px;
overflow-y: auto;

.list {
width: 100%;


불러오는 중...
취소
저장