Skip to content

Commit ef60f5c

Browse files
authored
fix: CSS syntax error
Styles are evaluated as CSS and broke the whole app... 😅
1 parent c7e5db1 commit ef60f5c

File tree

1 file changed

+14
-16
lines changed

1 file changed

+14
-16
lines changed

src/components/ngx-hover-opacity.component.ts

Lines changed: 14 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -24,24 +24,22 @@ export interface INgxHoverOpacityComponentCustomStyle {
2424
`,
2525
styles: [
2626
`
27-
ngx-hover-opacity {
28-
.content {
29-
position: relative;
27+
ngx-hover-opacity .content {
28+
position: relative;
29+
}
3030
31-
&.is-full-height {
32-
min-height: 100%;
33-
}
34-
}
31+
ngx-hover-opacity .content.is-full-height {
32+
min-height: 100%;
33+
}
3534
36-
.hover {
37-
position: absolute;
38-
background-color: rgba(255, 255, 255, 0.6);
39-
z-index: 1;
40-
top: 0;
41-
left: 0;
42-
right: 0;
43-
bottom: 0;
44-
}
35+
ngx-hover-opacity .hover {
36+
position: absolute;
37+
background-color: rgba(255, 255, 255, 0.6);
38+
z-index: 1;
39+
top: 0;
40+
left: 0;
41+
right: 0;
42+
bottom: 0;
4543
}
4644
`,
4745
],

0 commit comments

Comments
 (0)