Просмотр исходного кода

Merge branch 'ja-track-changes' of github.com:sharelatex/web-sharelatex into ja-track-changes

James Allen 9 лет назад
Родитель
Сommit
a8618fa4d9
1 измененных файлов с 5 добавлено и 7 удалено
  1. 5 7
      services/web/public/stylesheets/app/editor/review-panel.less

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

@@ -736,10 +736,13 @@
 }
 }
 
 
 .review-icon {
 .review-icon {
-	position: absolute;
+	display: inline-block;
 	background: url('/img/review-icon-sprite.png') top/30px no-repeat;
 	background: url('/img/review-icon-sprite.png') top/30px no-repeat;
 	width: 30px;
 	width: 30px;
-	height: 30px;
+
+	&::before {
+		content: '\00a0'; // Non-breakable space. A non-breakable character here makes this icon work like font-awesome.
+	}
 
 
 	.toolbar .btn-full-height:hover & {
 	.toolbar .btn-full-height:hover & {
 		background-position-y: -30px;
 		background-position-y: -30px;
@@ -749,11 +752,6 @@
 	.toolbar .btn-full-height:active & {
 	.toolbar .btn-full-height:active & {
 		background-position-y: -60px;
 		background-position-y: -60px;
 	}
 	}
-
-	& + .toolbar-label {
-		margin-left: 34px;
-	}
-
 }
 }
 
 
 .resolved-comments-toggle {
 .resolved-comments-toggle {