0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2025-12-27 22:22:42 +00:00

Styling the snippet groups a bit better

This commit is contained in:
Scott Tolksdorf
2016-05-14 14:55:27 -04:00
parent 641ad747d3
commit c084cb2d8b
3 changed files with 9 additions and 10 deletions

View File

@@ -3,7 +3,6 @@ var _ = require('lodash');
var cx = require('classnames');
var CodeEditor = require('naturalcrit/codeEditor/codeEditor.jsx');
var Snippets = require('./snippets/snippets.js');
@@ -23,13 +22,11 @@ var Editor = React.createClass({
onChange : function(){}
};
},
cursorPosition : {
line : 0,
ch : 0
},
componentDidMount: function() {
var paneHeight = this.refs.main.parentNode.clientHeight;
paneHeight -= this.refs.snippetBar.clientHeight + 1;

View File

@@ -38,9 +38,10 @@
.animate(background-color);
padding : 10px;
cursor : pointer;
font-size : 13px;
font-size : 10px;
i{
margin-right: 8px;
font-size : 13px;
}
&:hover{
background-color : #999;