Skip to content

Commit

Permalink
fix: form width is defaulted to 25%
Browse files Browse the repository at this point in the history
  • Loading branch information
gregorybesson committed Mar 17, 2017
1 parent 9502c12 commit 20a9f1d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/server/public/abecms/css/styles.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/server/routes/get-main.js
Expand Up @@ -45,7 +45,7 @@ function renderAbeAdmin(EditorVariables, obj, filePath) {
pageHtml = page.html.replace(/"/g, '"').replace(/'/g, '\'').replace(/<!--/g, '<ABE!--').replace(/-->/g, '--ABE>')
}

var editorWidth = '33%'
var editorWidth = '25%'
EditorVariables.express.req.headers && EditorVariables.express.req.headers.cookie && EditorVariables.express.req.headers.cookie.split(';').forEach(function(cookie) {
var parts = cookie.match(/(.*?)=(.*)$/)
if ( typeof parts !== 'undefined' && parts !== null && ( parts.length > 2 ) && ( parts[1] === 'editorWidth' ) ) editorWidth = parts[2]
Expand Down
2 changes: 1 addition & 1 deletion src/server/sass/modules/_editor.scss
Expand Up @@ -91,7 +91,7 @@ body {
}

.form-wrapper{
width: 33%;
width: 25%;

.btn-default,
.btn-info{
Expand Down

0 comments on commit 20a9f1d

Please sign in to comment.