diff --git a/frontend/src/app/shared/components/assets/asset-history.component.scss b/frontend/src/app/shared/components/assets/asset-history.component.scss
index 230da5547..2b1188479 100644
--- a/frontend/src/app/shared/components/assets/asset-history.component.scss
+++ b/frontend/src/app/shared/components/assets/asset-history.component.scss
@@ -3,11 +3,11 @@
:host ::ng-deep {
.user-ref {
- font-weight: 500;
+ @include text-variable;
}
.marker-ref {
- font-weight: 500;
+ @include text-variable;
}
}
diff --git a/frontend/src/app/shared/components/comments/comment.component.html b/frontend/src/app/shared/components/comments/comment.component.html
index d8da95b5a..56f16ad21 100644
--- a/frontend/src/app/shared/components/comments/comment.component.html
+++ b/frontend/src/app/shared/components/comments/comment.component.html
@@ -7,7 +7,7 @@
- {{event.actor | sqxUserNameRef}}
+ {{event.actor | sqxUserNameRef:null}}
{{event.created | sqxFromNow}}
diff --git a/frontend/src/app/shared/components/history/history-list.component.scss b/frontend/src/app/shared/components/history/history-list.component.scss
index 904792912..d61c69f5d 100644
--- a/frontend/src/app/shared/components/history/history-list.component.scss
+++ b/frontend/src/app/shared/components/history/history-list.component.scss
@@ -11,11 +11,11 @@
:host ::ng-deep {
.user-ref {
- font-weight: 500;
+ @include text-variable;
}
.marker-ref {
- font-weight: 500;
+ @include text-variable;
}
}
@@ -35,8 +35,4 @@
&-right {
overflow: hidden;
}
-
- &-message {
- overflow-wrap: break-word;
- }
}
\ No newline at end of file
diff --git a/frontend/src/app/shared/components/schema-category.component.ts b/frontend/src/app/shared/components/schema-category.component.ts
index d922c2a41..8063e9364 100644
--- a/frontend/src/app/shared/components/schema-category.component.ts
+++ b/frontend/src/app/shared/components/schema-category.component.ts
@@ -9,7 +9,7 @@ import { CdkDragDrop, CdkDragStart } from '@angular/cdk/drag-drop';
import { ChangeDetectionStrategy, Component, EventEmitter, Input, OnChanges, Output } from '@angular/core';
import { LocalStoreService, SchemaCategory, SchemaDto, SchemasState } from '@app/shared/internal';
-const ITEM_HEIGHT = 2.5;
+const ITEM_HEIGHT = 2.25;
@Component({
selector: 'sqx-schema-category[schemaCategory]',
diff --git a/frontend/src/app/theme/_mixins.scss b/frontend/src/app/theme/_mixins.scss
index 3f496c479..fdc138534 100644
--- a/frontend/src/app/theme/_mixins.scss
+++ b/frontend/src/app/theme/_mixins.scss
@@ -216,6 +216,15 @@
width: auto;
}
+@mixin text-variable {
+ @include truncate-nowidth;
+ display: inline-block;
+ font-size: inherit;
+ font-weight: 500;
+ max-width: 150px;
+ vertical-align: top;
+}
+
@mixin no-drag {
-webkit-user-drag: none;
}
\ No newline at end of file
diff --git a/frontend/src/app/theme/_panels2.scss b/frontend/src/app/theme/_panels2.scss
index bff9a1516..2a66f0526 100644
--- a/frontend/src/app/theme/_panels2.scss
+++ b/frontend/src/app/theme/_panels2.scss
@@ -267,6 +267,10 @@
margin-left: -.5rem;
margin-right: -.5rem;
+ .nav-item {
+ height: 2.25rem;
+ }
+
.nav-item {
max-width: 100%;
}
@@ -278,7 +282,6 @@
cursor: pointer;
font-size: inherit;
font-weight: 500;
- margin-bottom: .125rem;
padding-left: 1rem;
padding-right: 1rem;
transition: background-color .4s ease-in, color .4s ease-in;