We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f7bf148 commit 5c4dc04Copy full SHA for 5c4dc04
src/components/toolbar/toolbar.scss
@@ -11,7 +11,7 @@ $md-toolbar-padding: 16px !default;
11
color: md-color($palette, default-contrast);
12
}
13
14
-:host {
+md-toolbar {
15
display: flex;
16
box-sizing: border-box;
17
src/components/toolbar/toolbar.ts
@@ -1,7 +1,8 @@
1
import {
2
Component,
3
ChangeDetectionStrategy,
4
- Input
+ Input,
5
+ ViewEncapsulation
6
} from '@angular/core';
7
import {Renderer} from '@angular/core';
8
import {ElementRef} from '@angular/core';
@@ -12,6 +13,7 @@ import {ElementRef} from '@angular/core';
templateUrl: 'toolbar.html',
styleUrls: ['toolbar.css'],
changeDetection: ChangeDetectionStrategy.OnPush,
+ encapsulation: ViewEncapsulation.None
})
18
export class MdToolbar {
19
0 commit comments