ng2-slides
Advanced tools
Comparing version 0.0.4 to 0.0.5
@@ -19,3 +19,3 @@ "use strict"; | ||
styles: [ | ||
":host {\n\t display: block;\n\t height: auto;\n\n\t @media only screen and (min-height: 600px) {\n\t height: 100vh;\n\t }\n\t}" | ||
":host {\n\t\t\tdisplay: block;\n\t\t\theight: auto;\n\t\t}\n\t\t\n\t\t@media only screen and (min-height: 600px) {\n\t\t\t:host {\n\t\t\t\theight: 100vh;\n\t\t\t}\n\t\t}" | ||
], | ||
@@ -22,0 +22,0 @@ template: "<ng-content></ng-content>" |
{ | ||
"name": "ng2-slides", | ||
"version": "0.0.4", | ||
"version": "0.0.5", | ||
"description": "An Angular2 library to create full height slides", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
import { Component } from '@angular/core'; | ||
@Component({ | ||
selector: 'ng2-slide', | ||
styles: [ | ||
`:host { | ||
display: block; | ||
height: auto; | ||
@media only screen and (min-height: 600px) { | ||
height: 100vh; | ||
} | ||
}` | ||
], | ||
template: `<ng-content></ng-content>` | ||
selector: 'ng2-slide', | ||
styles: [ | ||
`:host { | ||
display: block; | ||
height: auto; | ||
} | ||
@media only screen and (min-height: 600px) { | ||
:host { | ||
height: 100vh; | ||
} | ||
}` | ||
], | ||
template: `<ng-content></ng-content>` | ||
}) | ||
@@ -17,0 +19,0 @@ export class SlideComponent { |
Sorry, the diff of this file is not supported yet
24391
482