File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ export interface INgxHoverOpacityComponentCustomStyle {
13
13
@Component ( {
14
14
selector : 'ngx-hover-opacity' ,
15
15
template : `
16
- <div class="content">
16
+ <div class="content" [class.is-full-height]="isFullHeight" >
17
17
<ng-content></ng-content>
18
18
19
19
<div
@@ -24,9 +24,13 @@ export interface INgxHoverOpacityComponentCustomStyle {
24
24
` ,
25
25
styles : [
26
26
`
27
- ngx-hover-opacity
27
+ ngx-hover-opacity {
28
28
.content {
29
29
position: relative;
30
+
31
+ &.is-full-height {
32
+ min-height: 100%;
33
+ }
30
34
}
31
35
32
36
.hover {
@@ -46,5 +50,6 @@ export interface INgxHoverOpacityComponentCustomStyle {
46
50
} )
47
51
export class NgxHoverOpacityComponent {
48
52
@Input ( ) isHoverVisible : boolean ;
53
+ @Input ( ) isFullHeight = true ;
49
54
@Input ( ) style : INgxHoverOpacityComponentCustomStyle ;
50
55
}
You can’t perform that action at this time.
0 commit comments