mirror of
https://github.com/GNS3/gns3-web-ui.git
synced 2025-03-21 02:55:18 +00:00
Overriding wrong styles
This commit is contained in:
parent
c4959b97da
commit
63bcd6f4b2
@ -1,6 +1,6 @@
|
||||
GNS3 WebUI is web implementation of user interface for GNS3 software.
|
||||
|
||||
Current version: 2019.3.0
|
||||
Current version: 2019.2.0
|
||||
|
||||
What's New
|
||||
- Editing interface labels on double click
|
||||
|
@ -0,0 +1,3 @@
|
||||
mat-menu-panel {
|
||||
min-height: 0px;
|
||||
}
|
@ -1,3 +1,8 @@
|
||||
.context-menu {
|
||||
position: absolute;
|
||||
min-height: 0px;
|
||||
}
|
||||
|
||||
.mat-menu-panel ng-trigger ng-trigger-transformMenu ng-tns-c7-5 context-menu-items mat-menu-after mat-menu-below ng-star-inserted mat-elevation-z4 {
|
||||
min-height: 0px!important;
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
<div class="context-menu" [style.left]="leftPosition" [style.top]="topPosition" *ngIf="node">
|
||||
<span [matMenuTriggerFor]="selectInterfaceMenu"></span>
|
||||
<mat-menu #selectInterfaceMenu="matMenu" class="context-menu-items">
|
||||
<mat-menu [style.min-height]="0" #selectInterfaceMenu="matMenu" class="context-menu-items">
|
||||
<button mat-menu-item *ngFor="let port of availablePorts" (click)="chooseInterface(port)">
|
||||
<mat-icon>add_circle_outline</mat-icon>
|
||||
<span>{{ port.name }}</span>
|
||||
|
@ -1,3 +1,7 @@
|
||||
.context-menu {
|
||||
position: absolute;
|
||||
}
|
||||
|
||||
.context-menu-items {
|
||||
min-height: 0px!important;
|
||||
}
|
||||
|
@ -1,4 +1,4 @@
|
||||
import { ChangeDetectorRef, Component, EventEmitter, Input, OnInit, Output, ViewChild } from '@angular/core';
|
||||
import { ChangeDetectorRef, Component, EventEmitter, Input, OnInit, Output, ViewChild, ViewEncapsulation } from '@angular/core';
|
||||
import { MatMenuTrigger } from '@angular/material';
|
||||
import { DomSanitizer } from '@angular/platform-browser';
|
||||
import { Node } from '../../../cartography/models/node';
|
||||
|
@ -234,3 +234,7 @@ g.node text,
|
||||
.visible {
|
||||
display: none;
|
||||
}
|
||||
|
||||
mat-menu-panel {
|
||||
min-height: 0px;
|
||||
}
|
||||
|
@ -33,3 +33,7 @@ a.table-link {
|
||||
app-root {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
mat-menu-panel {
|
||||
min-height: 0px;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user