Skip to content

Commit

Permalink
Fix invalid style
Browse files Browse the repository at this point in the history
There was a missing px unit after this.fixedHeaderHeight value
in CSS `calc` which seems to cause the side panel not appear
at all in Internet Explorer. `calc` has been removed completely
because it's not needed for this particular calculation where
both values have the same px unit.

Fixes learningequality#9100
  • Loading branch information
MisRob committed Feb 14, 2022
1 parent e0d85da commit 226c8f1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@
},
closeButtonStyles() {
return {
top: `calc((${this.fixedHeaderHeight} - 40px) / 2)`,
top: `${(this.fixedHeaderHeight - 40) / 2}px`,
};
},
closeButtonFullScreenSidePanelStyles() {
Expand Down

0 comments on commit 226c8f1

Please sign in to comment.