Use custom chat resizer values.

This commit is contained in:
Paulo Reis 2017-11-30 15:24:48 +00:00
parent 826f49b9a4
commit 3a959cccfd
2 changed files with 4 additions and 2 deletions

View file

@ -43,8 +43,8 @@ block content
#chat-wrapper.full-size(
layout="chat",
spacing-open="12",
spacing-closed="0",
spacing-open="{{ui.chatResizerSizeOpen}}",
spacing-closed="{{ui.chatResizerSizeClosed}}",
initial-size-east="250",
init-closed-east="true",
open-east="ui.chatOpen",

View file

@ -76,6 +76,8 @@ define [
pdfWidth: 0
reviewPanelOpen: localStorage("ui.reviewPanelOpen.#{window.project_id}")
miniReviewPanelVisible: false
chatResizerSizeOpen: window.uiConfig.chatResizerSizeOpen
chatResizerSizeClosed: window.uiConfig.chatResizerSizeClosed
}
$scope.onboarding = {
autoCompile: if window.showAutoCompileOnboarding then 'unseen' else 'dismissed'