[ADF-2774] fixed message bus, background and language dropdowns that were hidden by the toolbar (#3379)

This commit is contained in:
Georgiana Roman
2018-05-23 21:23:50 +03:00
committed by Eugenio Romano
parent 30f13cdecd
commit 5831bc1d77
4 changed files with 11 additions and 3 deletions

View File

@@ -23,7 +23,7 @@
<button mat-icon-button [matMenuTriggerFor]="langMenu"> <button mat-icon-button [matMenuTriggerFor]="langMenu">
<mat-icon>language</mat-icon> <mat-icon>language</mat-icon>
</button> </button>
<mat-menu #langMenu="matMenu"> <mat-menu #langMenu="matMenu" class="adf-menu">
<adf-language-menu></adf-language-menu> <adf-language-menu></adf-language-menu>
</mat-menu> </mat-menu>
</mat-toolbar> </mat-toolbar>

View File

@@ -24,6 +24,10 @@
overflow: visible !important; overflow: visible !important;
} }
.adf-menu {
padding-top: 55px;
}
.adf-app-layout { .adf-app-layout {
display: flex; display: flex;
flex: 1; flex: 1;
@@ -98,6 +102,10 @@
.adf-userinfo-name { .adf-userinfo-name {
display: none; display: none;
} }
.adf-menu {
padding-top: 0px;
}
} }
@media screen and ($mat-xsmall) { @media screen and ($mat-xsmall) {

View File

@@ -12,7 +12,7 @@
height: 20%; height: 20%;
width: 40%; width: 40%;
position: fixed; position: fixed;
top: 1em; top: 4em;
right: 1em; right: 1em;
opacity: 0.9; opacity: 0.9;
overflow: scroll; overflow: scroll;

View File

@@ -2,7 +2,7 @@
<mat-icon>format_color_fill</mat-icon> <mat-icon>format_color_fill</mat-icon>
</button> </button>
<mat-menu class="docs-theme-picker-menu" #themeMenu="matMenu" x-position="before"> <mat-menu class="docs-theme-picker-menu adf-menu" #themeMenu="matMenu" x-position="before">
<button *ngFor="let theme of themes" [attr.data-automation-id]="theme.name" mat-menu-item (click)="installTheme(theme)" > <button *ngFor="let theme of themes" [attr.data-automation-id]="theme.name" mat-menu-item (click)="installTheme(theme)" >
<mat-icon mat-list-icon [matTooltip]="theme.name" class="docs-theme-chosen-icon" [style.color]="theme.accent" <mat-icon mat-list-icon [matTooltip]="theme.name" class="docs-theme-chosen-icon" [style.color]="theme.accent"
[style.background]="theme.primary" [style.background]="theme.primary"