Skip to content

Commit

Permalink
Merge pull request #259 from harena-lab/development
Browse files Browse the repository at this point in the history
Editor/style fixes
  • Loading branch information
santanche authored Oct 1, 2020
2 parents c8b37b1 + 0a83e64 commit b89ef10
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 5 deletions.
9 changes: 5 additions & 4 deletions src/adonisjs/public/dccs/components/dcc-block.js
Original file line number Diff line number Diff line change
Expand Up @@ -169,12 +169,13 @@ class DCCBlock extends DCCMultiVisual {
Basic.service.systemStyleResolver(this.elementTag() + '.css') +
"' </style>" + html
} else if (this.xstyle == 'theme') {
if (Basic.service.currentCustomTheme != null)
html = "<style>@import '" +
Basic.service.themeCustomStyleResolver(this.elementTag() + '.css') +
"' </style>" + html
html = "<style>@import '" +
Basic.service.themeStyleResolver(this.elementTag() + '.css') +
"' </style>\n" +
"<style>@import '" +
Basic.service.themeCustomStyleResolver(this.elementTag() + '.css') +
"' </style>" + html
"' </style>\n" + html
}

const template = document.createElement('template')
Expand Down
2 changes: 1 addition & 1 deletion src/adonisjs/public/dccs/edit/upload-adapter.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ class HarenaUploadAdapter {
// integration to choose the right communication channel. This example uses
// a POST request with JSON as a data structure but your configuration
// could be different.
xhr.open( 'POST', 'http://localhost:10020/api/v1/artifact', true );
xhr.open( 'POST', DCCCommonServer.managerAddressAPI + 'artifact', true );
// xhr.setRequestHeader('Content-Type', 'multipart/form-data');
xhr.setRequestHeader('Accept', 'application/json');
xhr.setRequestHeader('cache-control', 'no-cache');
Expand Down
5 changes: 5 additions & 0 deletions src/adonisjs/public/themes/minimal/css/dcc-input-typed.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
@charset "UTF-8";

.dcc-input-typed-theme {
font-size: 30px;
}

0 comments on commit b89ef10

Please sign in to comment.