Skip to content

Commit

Permalink
Improve action logger style
Browse files Browse the repository at this point in the history
  • Loading branch information
d2fong committed Apr 12, 2018
1 parent ee5c71b commit eeff7d4
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
6 changes: 3 additions & 3 deletions src/client/components/action-logger/index.js
Expand Up @@ -163,16 +163,16 @@ class ActionLogger extends DirtyComponent {
if (this.state.open) {
content = h('div.action-logger', [
h('div.close-menu', { onClick: () => this.setState({open: !this.state.open}) }, '--'),
h('div.action-logger-title', 'ACTION HISTORY'),
h('div.action-section', [
h('div.action-logger-title', 'ACTION HISTORY'),
h('ul', history)
]),
h('div.action-logger-title', 'TODO'),
h('div.action-section', [
h('div.action-logger-title', 'TODO'),
h('ul', todos)
]),
h('div.action-logger-title', 'GUIDE'),
h('div.action-section', [
h('div.action-logger-title', 'GUIDE'),
h('ul', [
h('li', 'click + to create a new entity'),
h('li', 'click -> to create an interaction between two entities'),
Expand Down
4 changes: 4 additions & 0 deletions src/styles/action-logger/action-logger.css
Expand Up @@ -35,10 +35,14 @@

.action-section {
padding: 0 10px 10px;
height: 20%;
margin-bottom: 50px;
overflow: scroll;
}

.action-logger-title {
font-size: 2em;
margin-bottom: 10px;
}

.close-menu {
Expand Down
2 changes: 1 addition & 1 deletion src/styles/editor/editor.css
Expand Up @@ -54,7 +54,7 @@
left: 0;
top: 3em;
width: 100%;
height: 100%;
height: calc(100% - 3em);
}

.editor-menu-content {
Expand Down

0 comments on commit eeff7d4

Please sign in to comment.