hide md preview help and restore mac header
This commit is contained in:
parent
7c7c2aa053
commit
eb1b412840
2 changed files with 5 additions and 1 deletions
|
@ -217,7 +217,7 @@ export class FormField extends React.PureComponent<Props> {
|
|||
getMdeInstance={getInstance}
|
||||
options={{
|
||||
spellChecker: true,
|
||||
hideIcons: ['heading', 'image', 'fullscreen', 'side-by-side'],
|
||||
hideIcons: ['heading', 'image', 'fullscreen', 'side-by-side', 'guide'], // guide hidden until fixed
|
||||
previewRender(plainText) {
|
||||
const preview = <MarkdownPreview content={plainText} noDataStore />;
|
||||
return ReactDOMServer.renderToString(preview);
|
||||
|
|
|
@ -47,6 +47,10 @@
|
|||
}
|
||||
}
|
||||
|
||||
.header--mac {
|
||||
padding-top: var(--mac-titlebar-height);
|
||||
}
|
||||
|
||||
.header__contents {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
|
|
Loading…
Reference in a new issue