mirror of
https://github.com/GNS3/gns3-web-ui.git
synced 2025-04-16 14:38:52 +00:00
Make project-toolbar sticky
This commit is contained in:
parent
e38bc532b2
commit
8280532764
@ -107,9 +107,10 @@ export class MapComponent implements OnInit, OnChanges, OnDestroy {
|
||||
}
|
||||
|
||||
public getSize(): Size {
|
||||
return new Size(
|
||||
document.documentElement.clientWidth,
|
||||
document.documentElement.clientHeight);
|
||||
// return new Size(
|
||||
// document.documentElement.clientWidth,
|
||||
// document.documentElement.clientHeight);
|
||||
return new Size(2000, 2000);
|
||||
}
|
||||
|
||||
private changeLayout() {
|
||||
|
@ -23,12 +23,16 @@ g.node:hover {
|
||||
|
||||
.project-toolbar {
|
||||
width: 70px;
|
||||
position: absolute;
|
||||
position: fixed;
|
||||
top: 20px;
|
||||
left: 20px;
|
||||
box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
|
||||
}
|
||||
|
||||
.project-toolbar .mat-toolbar-multiple-rows {
|
||||
width: auto !important;
|
||||
}
|
||||
|
||||
.loading-spinner {
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
|
Loading…
x
Reference in New Issue
Block a user