Skip to content

Commit

Permalink
[ACS-6581] Wrap comments into multiple lines (#9407)
Browse files Browse the repository at this point in the history
* ACS-6581 Wrap comments into multiple lines

* ACS-6581 Used variable for border color

* ACS-6581 Changed value for padding

* ACS-6581 Used ellipsis and tooltip instead of wrapping comment

* ACS-6581 Add missing space
  • Loading branch information
AleksanderSklorz committed Mar 8, 2024
1 parent ab6d94a commit 5d545b5
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,14 @@
<span class="adf-version-list-item-line adf-version-list-item-version" [id]="'adf-version-list-item-version-' + version.entry.id" >{{version.entry.id}}</span> -
<span class="adf-version-list-item-line adf-version-list-item-date" [id]="'adf-version-list-item-date-' + version.entry.id" >{{version.entry.modifiedAt | date}}</span>
</p>
<p mat-line [id]="'adf-version-list-item-comment-' + version.entry.id"
class="adf-version-list-item-comment"
*ngIf="showComments">{{version.entry.versionComment}}</p>
<p
mat-line
[id]="'adf-version-list-item-comment-' + version.entry.id"
class="adf-version-list-item-comment"
*ngIf="showComments"
[title]="version.entry.versionComment">
{{ version.entry.versionComment }}
</p>

<div *ngIf="showActions">
<mat-menu [id]="'adf-version-list-action-menu-' + version.entry.id"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
.adf-version-list {
&-viewport {
.adf-version-list-viewport {
height: 100%;
overflow-x: hidden;
}

.adf-version-list-item {
border-bottom: 1px solid #d8d8d8;
border-bottom: 1px solid var(--adf-theme-foreground-divider-color);
width: 100vw;
}

&-item-version {
Expand All @@ -16,7 +18,12 @@
}

&-item-comment {
width: 500px;
opacity: 0.5;

@media screen and (max-width: 629px) {
width: 97%;
}
}

&-item-name,
Expand Down

0 comments on commit 5d545b5

Please sign in to comment.