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

Fix #928: Tag list cannot be scroll

This commit is contained in:
Yoshiki Aoki
2017-10-17 11:47:06 +09:00
committed by Yoshiki Aoki
parent ac5cdf384f
commit 1f548959e3
2 changed files with 14 additions and 9 deletions

View File

@@ -4,9 +4,12 @@
background-color #f9f9f9 background-color #f9f9f9
user-select none user-select none
color $ui-text-color color $ui-text-color
height: 100vh
display: flex
flex-direction column
.top .top
height 45px padding-bottom 15px
.top-menu .top-menu
navButtonColor() navButtonColor()
@@ -47,18 +50,20 @@
margin-left 5px margin-left 5px
overflow ellipsis overflow ellipsis
.tabBody
flex 1
display flex
flex-direction column
.tag-title .tag-title
height 65px padding-left 15px
position relative padding-bottom 13px
left 15px
p p
color $ui-text-color color $ui-text-color
.tagList .tagList
absolute left right
bottom 37px
overflow-y auto overflow-y auto
position relative flex: 1
body[data-theme="dark"] body[data-theme="dark"]
.root, .root--folded .root, .root--folded
@@ -98,4 +103,4 @@ body[data-theme="dark"]
.tag-title .tag-title
p p
color alpha($ui-dark-text-color, 60%) color alpha($ui-dark-text-color, 60%)

View File

@@ -80,7 +80,7 @@ class SideNav extends React.Component {
) )
} else { } else {
component = ( component = (
<div> <div styleName='tabBody'>
<div styleName='tag-title'> <div styleName='tag-title'>
<p>Tags</p> <p>Tags</p>
</div> </div>