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:
@@ -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
|
||||
Reference in New Issue
Block a user