1
0
mirror of https://github.com/BoostIo/Boostnote synced 2025-12-13 17:56:25 +00:00

cleaned up redundant variables, fixed eslint fix command, split snippetList into component

This commit is contained in:
Nguyễn Việt Hưng
2018-05-21 18:32:41 +07:00
parent ce594b0b5a
commit 2b2f17525e
13 changed files with 182 additions and 125 deletions

View File

@@ -1,4 +1,5 @@
@import('./Tab')
@import('./ConfigTab')
.root
padding 15px
@@ -96,6 +97,11 @@
height calc(100% - 200px)
position absolute
.snippets
height calc(100% - 8px)
overflow scroll
background: #f5f5f5
.snippet-item
height 50px
font-size 15px
@@ -121,3 +127,20 @@
height calc(100% - 200px)
position absolute
left 33%
.SnippetEditor
position absolute
width 100%
height 90%
body[data-theme="dark"]
.snippets
background: #2E3235
.snippet-item
color white
&::after
background rgba(255, 255, 255 0.1)
&:hover
background darken(#2E3235, 5)
.snippet-detail
color white