mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-02-24 16:14:01 +08:00
💄(md) Fix markdown styles
This commit is contained in:
parent
63e4f05d15
commit
cf321258ed
2 changed files with 20 additions and 12 deletions
|
@ -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;
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue