From 98120a5e407422faf6cc1a62908d3bb1bd45e9b6 Mon Sep 17 00:00:00 2001 From: sota1235 Date: Tue, 3 Jan 2017 17:32:25 +0900 Subject: [PATCH] modify: fix style for updated date on note detail --- browser/main/Detail/NoteDetailInfo.styl | 10 +++++++++- browser/main/Detail/StarButton.styl | 4 +++- browser/main/Detail/TagSelect.styl | 5 +++-- 3 files changed, 15 insertions(+), 4 deletions(-) diff --git a/browser/main/Detail/NoteDetailInfo.styl b/browser/main/Detail/NoteDetailInfo.styl index 8d34c3d0..4d27093c 100644 --- a/browser/main/Detail/NoteDetailInfo.styl +++ b/browser/main/Detail/NoteDetailInfo.styl @@ -34,7 +34,12 @@ $info-margin-under-border = 27px color $ui-button--active-color .info-right - float right + position absolute + right 0 + top 0 + background $ui-noteDetail-backgroundColor + bottom 1px + padding-left 30px .info-right-button width 34px @@ -68,6 +73,9 @@ body[data-theme="dark"] border-color $ui-dark-borderColor color $ui-dark-text-color + .info-right + background-color $ui-dark-noteDetail-backgroundColor + .info-right-button navDarkButtonColor() border-color $ui-dark-borderColor diff --git a/browser/main/Detail/StarButton.styl b/browser/main/Detail/StarButton.styl index a857f1bf..4362ab6b 100644 --- a/browser/main/Detail/StarButton.styl +++ b/browser/main/Detail/StarButton.styl @@ -1,5 +1,7 @@ .root - position relative + position absolute + left 7px + top 0 padding 0 &:hover .icon diff --git a/browser/main/Detail/TagSelect.styl b/browser/main/Detail/TagSelect.styl index a02156aa..54a7e70c 100644 --- a/browser/main/Detail/TagSelect.styl +++ b/browser/main/Detail/TagSelect.styl @@ -1,6 +1,7 @@ .root - display: inline-block - position relative + position absolute + top 19px + left 44px user-select none vertical-align middle width 300px