0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2026-01-13 06:32:39 +00:00

Split off the old stlying in a separate file

This commit is contained in:
Scott Tolksdorf
2017-02-13 00:45:17 -05:00
parent 304cd0ffcd
commit bd08858745
8 changed files with 86 additions and 39 deletions

View File

@@ -106,7 +106,7 @@ const OLD_BrewRenderer = React.createClass({
},
renderPage : function(pageText, index){
return <div className='phb' id={`p${index + 1}`} dangerouslySetInnerHTML={{__html:Markdown.render(pageText)}} key={index} />
return <div className='phb_old' id={`p${index + 1}`} dangerouslySetInnerHTML={{__html:Markdown.render(pageText)}} key={index} />
},
renderPages : function(){

View File

@@ -1,6 +1,4 @@
@import (less) './client/homebrew/phbStyle/phb.style.less';
//@import (less) './shared/depricated/phb.old.css';
.pane{
position : relative;
}
@@ -30,7 +28,7 @@
}
.pages{
margin : 30px 0px;
&>.phb{
&>.phb_old{
margin-right : auto;
margin-bottom : 30px;
margin-left : auto;