💄(md) Fix markdown styles

This commit is contained in:
Juan Tejada 2016-11-18 15:27:13 -08:00
parent 63e4f05d15
commit cf321258ed
2 changed files with 20 additions and 12 deletions

View file

@ -4,10 +4,17 @@
@blurred-primary-color: mix(@background-primary, #ffbb00, 96%);
.markdown-editor {
padding-top: 10px;
.compose-body .markdown-editor {
margin: auto;
padding: 10px 23px 10px;
width: 100%;
.editing-region div[contenteditable] {
min-height: 0;
padding: 0;
}
.markdown-editor .uneditable-notice {
.uneditable-notice {
text-align: center;
font-size: 0.9em;
color: @text-color-very-subtle;
@ -16,6 +23,7 @@
border-bottom: 1px dashed;
padding: 4px;
}
}
.CodeMirror {
height: 225px;

View file

@ -232,7 +232,7 @@ export default class OverlaidComponents extends React.Component {
render() {
const {className} = this.props
return (
<div className={`overlaid-components-wrap ${className}`} style={{position: "relative"}}>
<div className={`overlaid-components-wrap ${className || ''}`} style={{position: "relative"}}>
<div className="anchor-container" ref="anchorContainer">
{this.props.children}
</div>