Skip to content

Commit 98120a5

Browse files
committed
modify: fix style for updated date on note detail
1 parent 3cb2a6b commit 98120a5

3 files changed

Lines changed: 15 additions & 4 deletions

File tree

browser/main/Detail/NoteDetailInfo.styl

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,12 @@ $info-margin-under-border = 27px
3434
color $ui-button--active-color
3535

3636
.info-right
37-
float right
37+
position absolute
38+
right 0
39+
top 0
40+
background $ui-noteDetail-backgroundColor
41+
bottom 1px
42+
padding-left 30px
3843

3944
.info-right-button
4045
width 34px
@@ -68,6 +73,9 @@ body[data-theme="dark"]
6873
border-color $ui-dark-borderColor
6974
color $ui-dark-text-color
7075

76+
.info-right
77+
background-color $ui-dark-noteDetail-backgroundColor
78+
7179
.info-right-button
7280
navDarkButtonColor()
7381
border-color $ui-dark-borderColor

browser/main/Detail/StarButton.styl

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
.root
2-
position relative
2+
position absolute
3+
left 7px
4+
top 0
35
padding 0
46
&:hover
57
.icon

browser/main/Detail/TagSelect.styl

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
.root
2-
display: inline-block
3-
position relative
2+
position absolute
3+
top 19px
4+
left 44px
45
user-select none
56
vertical-align middle
67
width 300px

0 commit comments

Comments
 (0)