mirror of
https://github.com/GNS3/gns3-web-ui.git
synced 2025-04-14 13:46:34 +00:00
Menu height extended
This commit is contained in:
parent
fe51a1797d
commit
9b482837d8
@ -1,6 +1,6 @@
|
||||
::ng-deep .mat-menu-panel {
|
||||
max-width: 400px;
|
||||
max-height: 400px;
|
||||
max-height: 500px;
|
||||
}
|
||||
|
||||
.menu {
|
||||
|
@ -77,8 +77,8 @@ export class TemplateComponent implements OnInit {
|
||||
template: template,
|
||||
server: 'local',
|
||||
numberOfNodes: 1,
|
||||
x: this.startX + ev.x - this.project.scene_width/2 - (width/2) + window.scrollX ,
|
||||
y: this.startY + ev.y - this.project.scene_height/2 + window.scrollY
|
||||
x: (this.startX + ev.x - this.project.scene_width/2 - (width/2)) * scale + window.scrollX ,
|
||||
y: (this.startY + ev.y - this.project.scene_height/2) * scale + window.scrollY
|
||||
};
|
||||
this.onNodeCreation.emit(nodeAddedEvent);
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user