浏览代码

Fix entries z-index issues on IE10.

Paulo Reis 9 年之前
父节点
当前提交
3b9a599276
共有 1 个文件被更改,包括 3 次插入 和 7 次删除
  1. 3 7
      services/web/public/stylesheets/app/editor/review-panel.less

+ 3 - 7
services/web/public/stylesheets/app/editor/review-panel.less

@@ -123,12 +123,8 @@
 		justify-content: space-around;
 		justify-content: space-around;
 		padding: 0 5px;
 		padding: 0 5px;
 	}
 	}
-	// .rp-state-current-file & {
-	// 	position: absolute;
-	// 	top: 0;
-	// 	left: 0;
-	// 	right: 0;
-	// }
+
+	position: relative;
 	height: @rp-toolbar-height;
 	height: @rp-toolbar-height;
 	border-bottom: 1px solid @rp-border-grey;
 	border-bottom: 1px solid @rp-border-grey;
 	background-color: @rp-bg-dim-blue;
 	background-color: @rp-bg-dim-blue;
@@ -793,7 +789,7 @@
 	position: absolute;
 	position: absolute;
 	width: 300px;
 	width: 300px;
 	left: -150px;
 	left: -150px;
-	max-height: 90%;
+	max-height: ~"calc(100vh - 100px)";
 	margin-top: @rp-entry-arrow-width * 1.5;
 	margin-top: @rp-entry-arrow-width * 1.5;
 	margin-left: 1em;
 	margin-left: 1em;
 	background-color: @rp-bg-blue;
 	background-color: @rp-bg-blue;