Fixed .gitignore not ignoring db/kb symlinks, word-breaking causing

weird spacing in pre, and non-fixed column sizing on new/edit doc page
This commit is contained in:
JJ Kasper
2018-05-29 15:00:29 -05:00
parent b127cb57f5
commit 0316746cae
4 changed files with 11 additions and 9 deletions

4
.gitignore vendored
View File

@@ -115,5 +115,5 @@ $RECYCLE.BIN/
# Others # Others
lib/ lib/
db/ db
kb/ kb

View File

@@ -103,10 +103,10 @@ export default class MngDoc extends Component {
return( return(
<Page> <Page>
<div className='row fill' style={rowStyle}> <div className='row fill' style={rowStyle}>
<div className='column'> <div className='column column-50'>
<Markdown className='fill Markdown' source={md} /> <Markdown className='fill Markdown' source={md} />
</div> </div>
<div className='column'> <div className='column column-50'>
<div className='row'> <div className='row'>
<div className='column column-60'> <div className='column column-60'>
<input type='text' maxLength={250} <input type='text' maxLength={250}

View File

@@ -1,7 +1,7 @@
const PaddedRow = ({ children, amount, vCenter }) => { const PaddedRow = ({ children, amount, vCenter }) => {
amount = amount || 20; amount = amount || 20;
const PadItem = () => ( const PadItem = () => (
<div className={'column column-' + amount + ' no-mob'} /> <div className={'column column-' + amount + ' nomob'} />
); );
let rowProps = {className: 'row'}; let rowProps = {className: 'row'};
if(vCenter) rowProps = {className: 'row v-center'}; if(vCenter) rowProps = {className: 'row v-center'};

View File

@@ -17,7 +17,6 @@ body, code, pre
pre, code pre, code
font-size: 1.5rem; font-size: 1.5rem;
word-break: break-all;
input, textarea, select, button, input, textarea, select, button,
.button, .cm-s-monokai.CodeMirror .button, .cm-s-monokai.CodeMirror
@@ -89,14 +88,13 @@ a
padding: 10px; padding: 10px;
p, pre p, pre
word-wrap: break-word; word-wrap: break-word;
word-break: break-all;
.v-center .v-center
min-height: calc(100vh - 55px - 50px - 20px); min-height: calc(100vh - 55px - 50px - 20px);
flex-direction: row; flex-direction: row;
align-items: center; align-items: center;
.no-mob .nomob
display: none !important; display: none !important;
.inline .inline
@@ -116,6 +114,10 @@ a
pre pre
margin-bottom: 2.5rem margin-bottom: 2.5rem
@media screen and (max-width: 639px)
.row .column.column-50
max-width: 100%
@media screen and (min-width: 640px) @media screen and (min-width: 640px)
.no-mob .nomob
display: block !important; display: block !important;