Skip to content

Commit

Permalink
Small fixes in the Version History: "Modified" -> "Edited", no shadow…
Browse files Browse the repository at this point in the history
… around active version (#2354)
  • Loading branch information
alansemenov committed Oct 20, 2020
1 parent 2087330 commit 6b15f2e
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
Expand Up @@ -68,7 +68,7 @@ export class VersionHistoryItem {
item.status = i18n('status.markedAsReady');
} else {
item.iconCls = 'icon-version-modified';
item.status = i18n('status.modified');
item.status = i18n('status.edited');
}

return item;
Expand Down
Expand Up @@ -81,7 +81,7 @@
&:not(.publish-action) {
padding: 7px 7px 7px 12px;
flex-direction: column;
box-shadow: 0 1px 2px 1px rgba(0, 0, 0, 0.1);
box-shadow: 0 1px 2px 1px rgba(0, 0, 0, 0.2);
border: 2px solid @admin-white;

&:not(.active) {
Expand Down Expand Up @@ -130,6 +130,11 @@
}
}

&.active {
box-shadow: none;
border: none;
}

&.publish-action {
padding: 5px 7px 5px 12px;
flex-direction: column-reverse;
Expand Down
1 change: 1 addition & 0 deletions src/main/resources/i18n/phrases.properties
Expand Up @@ -404,6 +404,7 @@ dialog.table.alignment.right=Right
#
status.created=Created
status.deleted=Marked for deletion
status.edited=Edited
status.expired=Expired
status.markedAsReady=Marked as Ready
status.modified=Modified
Expand Down

0 comments on commit 6b15f2e

Please sign in to comment.