hide md preview help and restore mac header

This commit is contained in:
zeppi 2022-02-15 12:18:09 -05:00 committed by jessopb
parent 7c7c2aa053
commit eb1b412840
2 changed files with 5 additions and 1 deletions

View file

@ -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);

View file

@ -47,6 +47,10 @@
}
}
.header--mac {
padding-top: var(--mac-titlebar-height);
}
.header__contents {
display: flex;
align-items: center;