style fixes (#3257)

* fix for the Firefox and Viewer scrolling

* breadcrumb style fixes
This commit is contained in:
Denys Vuika
2018-05-03 10:28:56 +01:00
committed by Eugenio Romano
parent 856c4fd7f5
commit 76005cd215
2 changed files with 12 additions and 4 deletions

View File

@@ -4,14 +4,17 @@ $breadcrumb-chevron-spacer: 2px;
$primary: map-get($theme, primary); $primary: map-get($theme, primary);
$accent: map-get($theme, accent); $accent: map-get($theme, accent);
$warn: map-get($theme, warn); $warn: map-get($theme, warn);
$foreground: map-get($theme, foreground);
.adf-breadcrumb { .adf-breadcrumb {
display: flex; display: flex;
flex: 1; flex: 1;
line-height: 24px; line-height: 24px;
font-size: 14px; font-size: 14px;
font-weight: 600; font-weight: 600;
letter-spacing: -0.2px; letter-spacing: -0.2px;
color: mat-color($foreground, text, 0.54);
width: 0;
&-container { &-container {
margin: 0; margin: 0;
@@ -41,8 +44,9 @@ $breadcrumb-chevron-spacer: 2px;
} }
&.active { &.active {
flex: 1 0 auto; flex: 1 0 auto;
} color: mat-color($foreground, text, 0.87);
}
&-chevron { &-chevron {
opacity: 1; opacity: 1;

View File

@@ -83,6 +83,10 @@
.adf-viewer-content { .adf-viewer-content {
@extend .full-screen; @extend .full-screen;
flex: 1; flex: 1;
& > div {
height: 0; // Firefox
}
} }
} }