diff --git a/view/index/index/index.html b/view/index/index/index.html
index 71f53d9..e61ab48 100644
--- a/view/index/index/index.html
+++ b/view/index/index/index.html
@@ -333,8 +333,8 @@
}).mount(elem)
})
-
- $('.code-preview').css('width', $('.main-content').width() + 'px')
+ console.log($('.main-content').width());
+ $('.code-preview').css('width', 'calc('+$('.main-content').width() + 'px - 1em - 3.8em)')