diff --git a/apps/red-ui/src/app/screens/file/file-preview-screen/file-preview-screen.component.html b/apps/red-ui/src/app/screens/file/file-preview-screen/file-preview-screen.component.html index 20e3f0d77..56deaa10a 100644 --- a/apps/red-ui/src/app/screens/file/file-preview-screen/file-preview-screen.component.html +++ b/apps/red-ui/src/app/screens/file/file-preview-screen/file-preview-screen.component.html @@ -250,39 +250,41 @@
- -
- -
-
- {{ annotation.typeLabel | translate }} -
-
- {{ annotation.descriptor | translate }}: {{ annotation.dictionary | humanize: false }} -
-
- : {{ annotation.content }} +
+
+ +
+ +
+
+ {{ annotation.typeLabel | translate }} +
+
+ {{ annotation.descriptor | translate }}: {{ annotation.dictionary | humanize: false }} +
+
+ : {{ annotation.content }} +
+
- -
- - + + +
diff --git a/apps/red-ui/src/app/screens/file/file-preview-screen/file-preview-screen.component.scss b/apps/red-ui/src/app/screens/file/file-preview-screen/file-preview-screen.component.scss index aa115e429..32a83add1 100644 --- a/apps/red-ui/src/app/screens/file/file-preview-screen/file-preview-screen.component.scss +++ b/apps/red-ui/src/app/screens/file/file-preview-screen/file-preview-screen.component.scss @@ -87,31 +87,45 @@ .annotations { overflow: hidden; width: 100%; - height: 100%; + height: calc(100% - 32px); - .annotation { - border-bottom: 1px solid $separator; - padding: 10px 21px 10px 6px; - font-size: 11px; - line-height: 14px; - cursor: pointer; + .annotation-wrapper { display: flex; - flex-direction: column; - border-left: 4px solid transparent; + border-bottom: 1px solid $separator; - &.removed { - text-decoration: line-through; - color: $grey-7; + .active-marker { + min-width: 4px; + min-height: 100%; } - .details { + &.active { + .active-marker { + background-color: $primary; + } + } + + .annotation { + padding: 10px 21px 10px 6px; + font-size: 11px; + line-height: 14px; + cursor: pointer; display: flex; - position: relative; - } + flex-direction: column; - redaction-type-annotation-icon { - margin-top: 6px; - margin-right: 10px; + &.removed { + text-decoration: line-through; + color: $grey-7; + } + + .details { + display: flex; + position: relative; + } + + redaction-type-annotation-icon { + margin-top: 6px; + margin-right: 10px; + } } &:hover { @@ -121,10 +135,6 @@ display: flex; } } - - &.active { - border-left: 4px solid $primary; - } } &:hover {