File tree Expand file tree Collapse file tree 4 files changed +28
-13
lines changed
utils/src/lib/components/elements-search Expand file tree Collapse file tree 4 files changed +28
-13
lines changed Original file line number Diff line number Diff line change 1414:host {
1515 display : block ;
1616 cursor : move ;
17+ margin-top : 16px ;
1718}
Original file line number Diff line number Diff line change 3838}
3939
4040.content {
41- display : grid ;
42- gap : 20px ;
43- margin-top : 28px ;
44- grid-template-columns : 100% ;
4541 width : 100% ;
4642 height : calc (100% - 75px );
4743 overflow-x : visible ;
Original file line number Diff line number Diff line change 2020 < mat-autocomplete class ="search-autocomplete " #auto ="matAutocomplete ">
2121 < ng-container *ngFor ="let element of elements ">
2222 < mat-option class ="list-option " *ngIf ="element | modelElementParser as parsedElement " (click) ="openElement(element) ">
23- < ame-element
24- [type] ="sammElements[parsedElement.type] "
25- [name] ="parsedElement.element.name "
26- [description] ="parsedElement.element.aspectModelUrn "
27- [disabledTooltipDescriptionLength] ="100 "
28- [disabledTooltipNameLength] ="60 "
29- size ="medium "
30- > </ ame-element >
31- < mat-icon *ngIf ="element.isExternalReference() && !element.isPredefined() "> open_in_new</ mat-icon >
23+ < div [class.has-external-element] ="element.isExternalReference() && !element.isPredefined() ">
24+ < ame-element
25+ [type] ="sammElements[parsedElement.type] "
26+ [name] ="parsedElement.element.name "
27+ [description] ="parsedElement.element.aspectModelUrn "
28+ [disabledTooltipDescriptionLength] ="100 "
29+ [disabledTooltipNameLength] ="60 "
30+ size ="medium "
31+ > </ ame-element >
32+ < div class ="align-self-center ">
33+ < mat-icon *ngIf ="element.isExternalReference() && !element.isPredefined() " class ="open-icon "> open_in_new</ mat-icon >
34+ </ div >
35+ </ div >
3236 </ mat-option >
3337 </ ng-container >
3438 </ mat-autocomplete >
Original file line number Diff line number Diff line change @@ -70,3 +70,17 @@ $top: 100px;
7070.list-option {
7171 display : block !important ;
7272}
73+ .open-icon {
74+ margin-top : 10px ;
75+ color : #686868 ;
76+ }
77+
78+ .has-external-element {
79+ display : grid ;
80+ justify-content : space-between ;
81+ grid-template-columns : 535px 65px ;
82+ }
83+
84+ .align-self-center {
85+ align-self : center ;
86+ }
You can’t perform that action at this time.
0 commit comments