mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-01-02 15:02:38 +00:00
Styling the snippet groups a bit better
This commit is contained in:
@@ -3,7 +3,6 @@ var _ = require('lodash');
|
|||||||
var cx = require('classnames');
|
var cx = require('classnames');
|
||||||
|
|
||||||
var CodeEditor = require('naturalcrit/codeEditor/codeEditor.jsx');
|
var CodeEditor = require('naturalcrit/codeEditor/codeEditor.jsx');
|
||||||
|
|
||||||
var Snippets = require('./snippets/snippets.js');
|
var Snippets = require('./snippets/snippets.js');
|
||||||
|
|
||||||
|
|
||||||
@@ -23,13 +22,11 @@ var Editor = React.createClass({
|
|||||||
onChange : function(){}
|
onChange : function(){}
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
|
|
||||||
cursorPosition : {
|
cursorPosition : {
|
||||||
line : 0,
|
line : 0,
|
||||||
ch : 0
|
ch : 0
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
||||||
componentDidMount: function() {
|
componentDidMount: function() {
|
||||||
var paneHeight = this.refs.main.parentNode.clientHeight;
|
var paneHeight = this.refs.main.parentNode.clientHeight;
|
||||||
paneHeight -= this.refs.snippetBar.clientHeight + 1;
|
paneHeight -= this.refs.snippetBar.clientHeight + 1;
|
||||||
|
|||||||
@@ -38,9 +38,10 @@
|
|||||||
.animate(background-color);
|
.animate(background-color);
|
||||||
padding : 10px;
|
padding : 10px;
|
||||||
cursor : pointer;
|
cursor : pointer;
|
||||||
font-size : 13px;
|
font-size : 10px;
|
||||||
i{
|
i{
|
||||||
margin-right: 8px;
|
margin-right: 8px;
|
||||||
|
font-size : 13px;
|
||||||
}
|
}
|
||||||
&:hover{
|
&:hover{
|
||||||
background-color : #999;
|
background-color : #999;
|
||||||
|
|||||||
13
todo.md
13
todo.md
@@ -1,7 +1,7 @@
|
|||||||
# The Homebrewery
|
# The Homebrewery
|
||||||
|
|
||||||
## v2.0.0 todo
|
## v2.0.0 todo
|
||||||
X make a sproper staging environment
|
X make a proper staging environment
|
||||||
X make database backups
|
X make database backups
|
||||||
X Cleanup master
|
X Cleanup master
|
||||||
X Make statusbar un-fixed
|
X Make statusbar un-fixed
|
||||||
@@ -16,13 +16,13 @@ X Add pagniation and query to the homebrew api
|
|||||||
X Update the admin page with pagnition and a query box
|
X Update the admin page with pagnition and a query box
|
||||||
X Test the old/small brew filtering for deleteion
|
X Test the old/small brew filtering for deleteion
|
||||||
X Partial rendering kills style tags on unrendered pages. Detect if pages have style tags and render them.
|
X Partial rendering kills style tags on unrendered pages. Detect if pages have style tags and render them.
|
||||||
- Add in the link of Pateron?
|
- Add in the link of Pateron
|
||||||
X Add in a localstorage fallback on the `/new` page, clear it when they save
|
X Add in a localstorage fallback on the `/new` page, clear it when they save
|
||||||
X Rename `/client/naturalCrit` -> `/client/main`
|
X Rename `/client/naturalCrit` -> `/client/main`
|
||||||
X Move snippets into their new groups
|
X Move snippets into their new groups
|
||||||
- Replace pseudo-elements with encoded images
|
X Replace pseudo-elements with encoded images
|
||||||
- Encode the images into base64 and embed
|
X Encode the images into base64 and embed
|
||||||
- Add in note wings
|
X Add in note wings
|
||||||
X Border shadows on second column renders much better
|
X Border shadows on second column renders much better
|
||||||
X Saving a pdf no uses the brew title
|
X Saving a pdf no uses the brew title
|
||||||
X add /source/shareId route
|
X add /source/shareId route
|
||||||
@@ -31,7 +31,8 @@ X Fix main Page
|
|||||||
- Write new welcome message
|
- Write new welcome message
|
||||||
X Fix the edit page saving flow
|
X Fix the edit page saving flow
|
||||||
X Fix title saving
|
X Fix title saving
|
||||||
- Style the snippet groups
|
X Style the snippet groups
|
||||||
|
- Update changelog
|
||||||
|
|
||||||
## v2.1.0
|
## v2.1.0
|
||||||
- Add stats nav item
|
- Add stats nav item
|
||||||
|
|||||||
Reference in New Issue
Block a user