diff --git a/browser/main/Detail/MarkdownNoteDetail.js b/browser/main/Detail/MarkdownNoteDetail.js index f4c805c1..b88beaf4 100644 --- a/browser/main/Detail/MarkdownNoteDetail.js +++ b/browser/main/Detail/MarkdownNoteDetail.js @@ -318,6 +318,16 @@ class MarkdownNoteDetail extends React.Component { value={this.state.note.tags} onChange={(e) => this.handleChange(e)} /> + +
+
+ +
+
+ +
+
+ diff --git a/browser/main/Detail/MarkdownNoteDetail.styl b/browser/main/Detail/MarkdownNoteDetail.styl index 597447eb..3ad687d6 100644 --- a/browser/main/Detail/MarkdownNoteDetail.styl +++ b/browser/main/Detail/MarkdownNoteDetail.styl @@ -34,6 +34,28 @@ .body-noteEditor absolute top bottom left right +.mode-tab + border 1px solid #eee + height 34px + display flex + align-items center + div + width 100px + height 100% + background-color #f9f9f9 + display flex + align-items center + justify-content center + cursor pointer + &:first-child + border-right 1px solid #eee + img + transform scale(0.7) + .active + background-color #fff + box-shadow 2px 0px 7px #eee + z-index 1 + body[data-theme="white"] .root box-shadow $note-detail-box-shadow diff --git a/browser/main/Detail/TagSelect.styl b/browser/main/Detail/TagSelect.styl index 4001f03e..258e7211 100644 --- a/browser/main/Detail/TagSelect.styl +++ b/browser/main/Detail/TagSelect.styl @@ -6,6 +6,7 @@ width 100% overflow-x scroll white-space nowrap + margin-right 10px .root::-webkit-scrollbar display none diff --git a/resources/icon/icon-WYSIWYG-off.svg b/resources/icon/icon-WYSIWYG-off.svg new file mode 100644 index 00000000..ffd6088a --- /dev/null +++ b/resources/icon/icon-WYSIWYG-off.svg @@ -0,0 +1,27 @@ + + + + icon-WYSIWYG-off + Created with Sketch. + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/resources/icon/icon-WYSIWYG-on.svg b/resources/icon/icon-WYSIWYG-on.svg new file mode 100644 index 00000000..b8ee9489 --- /dev/null +++ b/resources/icon/icon-WYSIWYG-on.svg @@ -0,0 +1,16 @@ + + + + icon-WYSIWYG-on + Created with Sketch. + + + + + + + + + + + \ No newline at end of file diff --git a/resources/icon/icon-code-off.svg b/resources/icon/icon-code-off.svg new file mode 100644 index 00000000..62a10b3a --- /dev/null +++ b/resources/icon/icon-code-off.svg @@ -0,0 +1,17 @@ + + + + icon-code-off + Created with Sketch. + + + + + + + + + + + + \ No newline at end of file diff --git a/resources/icon/icon-code-on.svg b/resources/icon/icon-code-on.svg new file mode 100644 index 00000000..729b41bf --- /dev/null +++ b/resources/icon/icon-code-on.svg @@ -0,0 +1,28 @@ + + + + icon-code-on + Created with Sketch. + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file