mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -05:00
Merge pull request #470 from sharelatex/pr-fix-v2-resizers-width
Configure splitter width in v2
This commit is contained in:
commit
3668912102
1 changed files with 3 additions and 3 deletions
|
@ -311,11 +311,11 @@ module.exports = (app, webRouter, privateApiRouter, publicApiRouter)->
|
|||
webRouter.use (req, res, next) ->
|
||||
isOl = (Settings.brandPrefix == 'ol-')
|
||||
res.locals.uiConfig =
|
||||
defaultResizerSizeOpen : if isOl then 2 else 24
|
||||
defaultResizerSizeClosed : if isOl then 2 else 24
|
||||
defaultResizerSizeOpen : if isOl then 7 else 24
|
||||
defaultResizerSizeClosed : if isOl then 7 else 24
|
||||
eastResizerCursor : if isOl then "ew-resize" else null
|
||||
westResizerCursor : if isOl then "ew-resize" else null
|
||||
chatResizerSizeOpen : if isOl then 2 else 12
|
||||
chatResizerSizeOpen : if isOl then 7 else 12
|
||||
chatResizerSizeClosed : 0
|
||||
chatMessageBorderSaturation: if isOl then "85%" else "70%"
|
||||
chatMessageBorderLightness : if isOl then "40%" else "70%"
|
||||
|
|
Loading…
Reference in a new issue