fix context view styling

pull/3094/head
yann300 6 years ago
parent 2d8863ce43
commit fb61cc422d
  1. 2
      src/app/editor/contextView.js
  2. 4
      src/app/editor/styles/contextView-styles.js

@ -41,7 +41,7 @@ class ContextView {
} }
render () { render () {
const view = yo`<div class="${css.contextview} ${css.contextviewcontainer} bg-secondary border-top-0"> const view = yo`<div class="${css.contextview} ${css.contextviewcontainer} badge badge-info font-weight-bold border-top-0">
<div class=${css.container}> <div class=${css.container}>
${this._renderTarget()} ${this._renderTarget()}
</div> </div>

@ -2,7 +2,7 @@ var csjs = require('csjs-inject')
var css = csjs` var css = csjs`
.contextview { .contextview {
opacity : 0.6; opacity : 0.5;
} }
.container { .container {
padding : 1px 15px; padding : 1px 15px;
@ -47,7 +47,7 @@ var css = csjs`
position : absolute; position : absolute;
top : 35px; top : 35px;
z-index : 50; z-index : 50;
left : 350px; left : 50%;
border-radius : 1px; border-radius : 1px;
border : 2px solid var(--secondary); border : 2px solid var(--secondary);
} }

Loading…
Cancel
Save