Skip to content

Commit

Permalink
fix(notification drawer): Fixed tidle-escaped strings in calc
Browse files Browse the repository at this point in the history
Wrong tidle-escaped strings cause a parsing exception when using the postcss-calc nodejs module.
Those are now fixed as specified in the readme.
  • Loading branch information
IvicaArsov committed Dec 29, 2018
1 parent fda70ed commit 8fc29b7
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
6 changes: 3 additions & 3 deletions src/less/notifications-drawer.less
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@
top: @drawer-pf-top-vertical; //menu height;
@media (max-width: @screen-xs-max) {
width:100%;
height: calc(~"100vh - @{drawer-pf-top-vertical}");
height: ~"calc(100vh - @{drawer-pf-top-vertical})";
}

}
Expand All @@ -242,8 +242,8 @@
border-top: 0;
@media (max-width: @screen-xs-max) {
width:100%;
height: calc(~"100vh - @{drawer-pf-top-horizontal} - 32px");
top:calc(~"@{drawer-pf-top-horizontal} + 10px");
height: ~"calc(100vh - @{drawer-pf-top-horizontal} - 32px)";
top: ~"calc(@{drawer-pf-top-horizontal} + 10px)";
}
}
.drawer-pf-trigger-icon { cursor: pointer; }
Expand Down
6 changes: 3 additions & 3 deletions src/sass/converted/patternfly/_notifications-drawer.scss
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@
top: $drawer-pf-top-vertical; //menu height;
@media (max-width: $screen-xs-max) {
width:100%;
height: calc(unquote("100vh - #{$drawer-pf-top-vertical}"));
height: unquote("calc(100vh - #{$drawer-pf-top-vertical})");
}

}
Expand All @@ -242,8 +242,8 @@
border-top: 0;
@media (max-width: $screen-xs-max) {
width:100%;
height: calc(unquote("100vh - #{$drawer-pf-top-horizontal} - 32px"));
top:calc(unquote("#{$drawer-pf-top-horizontal} + 10px"));
height: unquote("calc(100vh - #{$drawer-pf-top-horizontal} - 32px)");
top: unquote("calc(#{$drawer-pf-top-horizontal} + 10px)");
}
}
.drawer-pf-trigger-icon { cursor: pointer; }
Expand Down
6 changes: 3 additions & 3 deletions src/sass/converted/rcue/_notifications-drawer.scss
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@
top: $drawer-pf-top-vertical; //menu height;
@media (max-width: $screen-xs-max) {
width:100%;
height: calc(unquote("100vh - #{$drawer-pf-top-vertical}"));
height: unquote("calc(100vh - #{$drawer-pf-top-vertical})");
}

}
Expand All @@ -242,8 +242,8 @@
border-top: 0;
@media (max-width: $screen-xs-max) {
width:100%;
height: calc(unquote("100vh - #{$drawer-pf-top-horizontal} - 32px"));
top:calc(unquote("#{$drawer-pf-top-horizontal} + 10px"));
height: unquote("calc(100vh - #{$drawer-pf-top-horizontal} - 32px)");
top: unquote("calc(#{$drawer-pf-top-horizontal} + 10px)");
}
}
.drawer-pf-trigger-icon { cursor: pointer; }
Expand Down

0 comments on commit 8fc29b7

Please sign in to comment.