mirror of
https://github.com/BoostIo/Boostnote
synced 2025-12-13 09:46:22 +00:00
Fix note detail layout
This commit is contained in:
@@ -3,20 +3,14 @@
|
||||
border solid 1px transparent
|
||||
vertical-align middle
|
||||
border-radius 2px
|
||||
height 30px
|
||||
transition 0.15s
|
||||
user-select none
|
||||
margin-right 10px
|
||||
&:hover
|
||||
background-color $ui-button--hover-backgroundColor
|
||||
|
||||
.root--search, .root--focus
|
||||
@extend .root
|
||||
background-color $ui-noteDetail-backgroundColor = #fff
|
||||
border-color $ui-input--focus-borderColor
|
||||
width 154px
|
||||
height 30px
|
||||
&:hover
|
||||
border-color $ui-input--focus-borderColor = #fff
|
||||
|
||||
.idle
|
||||
position relative
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
@import('DetailVars')
|
||||
|
||||
$info-height = 80px
|
||||
$info-height = 60px
|
||||
$info-margin-under-border = 30px
|
||||
|
||||
.info
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
width 100%
|
||||
overflow-x scroll
|
||||
white-space nowrap
|
||||
padding-top 80px
|
||||
margin-top 31px
|
||||
position absolute
|
||||
|
||||
.root::-webkit-scrollbar
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
.control-toggleModeButton
|
||||
height 29px
|
||||
height 25px
|
||||
border-radius 50px
|
||||
background-color #F4F4F4
|
||||
width 67px
|
||||
width 52px
|
||||
display flex
|
||||
align-items center
|
||||
position absolute
|
||||
@@ -10,7 +10,7 @@
|
||||
.active
|
||||
background-color #1EC38B
|
||||
width 33px
|
||||
height 30px
|
||||
height 24px
|
||||
box-shadow 2px 0px 7px #eee
|
||||
z-index 1
|
||||
|
||||
|
||||
@@ -97,7 +97,7 @@ body[data-theme="dark"]
|
||||
.CodeMirror
|
||||
font-family inherit !important
|
||||
line-height 1.4em
|
||||
height 96%
|
||||
height 100%
|
||||
.CodeMirror > div > textarea
|
||||
margin-bottom -1em
|
||||
.CodeMirror-focused .CodeMirror-selected
|
||||
|
||||
Reference in New Issue
Block a user