Skip to content

A platform for community discussion. Free, open, simple.

IE11 doesn't support nested calc

Krisec33b46d3194
diff --git a/app/assets/stylesheets/desktop/topic-post.scss b/app/assets/stylesheets/desktop/topic-post.scss
index dfb19ab43cf..bb00846e763 100644
--- a/app/assets/stylesheets/desktop/topic-post.scss
+++ b/app/assets/stylesheets/desktop/topic-post.scss
@@ -641,7 +641,7 @@ $topic-body-width: 690px;
$topic-body-width-padding: 11px;
$topic-avatar-width: 45px;
.topic-body {
- width: calc(#{$topic-body-width} + calc(#{$topic-body-width-padding} * 2));
+ width: calc(#{$topic-body-width} + (#{$topic-body-width-padding} * 2));
float: left;
position: relative;
z-index: z("base");