From e68069fd2f1f3bf1442b5f19be68c6ed98d78e8e Mon Sep 17 00:00:00 2001 From: Kazu Yokomizo Date: Sat, 29 Jul 2017 13:40:04 +0900 Subject: [PATCH] Fix undo button layout at notedetail --- browser/main/Detail/NoteDetailInfo.styl | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/browser/main/Detail/NoteDetailInfo.styl b/browser/main/Detail/NoteDetailInfo.styl index bca687f3..fc71a2f7 100644 --- a/browser/main/Detail/NoteDetailInfo.styl +++ b/browser/main/Detail/NoteDetailInfo.styl @@ -55,7 +55,25 @@ $info-margin-under-border = 27px padding-left 30px .undo-button - topBarButtonLight() + width 34px + height 34px + border-radius 17px + font-size 14px + margin 15px 7px + border none + color $ui-button-color + display flex + align-items center + justify-content center + fill $ui-button-color + background-color transparent + cursor pointer + &:active + border-color $ui-button--active-backgroundColor + &:hover + background-color alpha($ui-button--hover-backgroundColor, 60%) + .control-lockButton-tooltip + opacity 1 body[data-theme="dark"] .info