mirror of
https://github.com/GNS3/gns3-web-ui.git
synced 2025-02-11 05:31:13 +00:00
Merge pull request #1376 from GNS3/bugfix/1372
resolve Uploaded images with long names get truncated in image manage…
This commit is contained in:
commit
a143f0d037
@ -32,7 +32,9 @@ export class ExportPortableProjectComponent implements OnInit {
|
|||||||
async ngOnInit() {
|
async ngOnInit() {
|
||||||
this.controller = this.data.controllerDetails;
|
this.controller = this.data.controllerDetails;
|
||||||
this.project = this.data.projectDetails;
|
this.project = this.data.projectDetails;
|
||||||
this.fileName = this.project.name + '.gns3project';
|
if( this.project){
|
||||||
|
this.fileName = this.project.name + '.gns3project';
|
||||||
|
}
|
||||||
await this.formControls();
|
await this.formControls();
|
||||||
this.compression_methods = this.projectService.getCompression();
|
this.compression_methods = this.projectService.getCompression();
|
||||||
this.compression_level = this.projectService.getCompressionLevel();
|
this.compression_level = this.projectService.getCompressionLevel();
|
||||||
|
@ -36,7 +36,7 @@
|
|||||||
<ng-container matColumnDef="filename">
|
<ng-container matColumnDef="filename">
|
||||||
<mat-header-cell *matHeaderCellDef> File Name </mat-header-cell>
|
<mat-header-cell *matHeaderCellDef> File Name </mat-header-cell>
|
||||||
<mat-cell *matCellDef="let row">
|
<mat-cell *matCellDef="let row">
|
||||||
<a class="table-link">{{ row.filename }}</a>
|
<mat-list-item role="listitem">{{ row.filename }}</mat-list-item>
|
||||||
</mat-cell>
|
</mat-cell>
|
||||||
</ng-container>
|
</ng-container>
|
||||||
|
|
||||||
|
@ -13,5 +13,12 @@
|
|||||||
mat-header-cell, mat-cell {
|
mat-header-cell, mat-cell {
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
}
|
}
|
||||||
|
mat-cell, mat-header-cell, mat-footer-cell {
|
||||||
|
flex: 1;
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
overflow: initial;
|
||||||
|
min-height: inherit;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user